wppaste
WordPress

apply_filters( 'wp_embed_handler_video', string $video, array $attr, string $url, array $rawattr )

Since
3.6.0
Filters the video embed output.

Parameters

$videostring
Video embed output.
$attrarray
An array of embed attributes.
$urlstring
The original URL that was matched by the regex.
$rawattrarray
The original unmodified attributes.

Fired at · 1

  • wp-includes/embed.php:317wp_embed_handler_video()

Source

	 *	 * @param string $video   Video embed output.	 * @param array  $attr    An array of embed attributes.	 * @param string $url     The original URL that was matched by the regex.	 * @param array  $rawattr The original unmodified attributes.	 */	return apply_filters( 'wp_embed_handler_video', $video, $attr, $url, $rawattr );} /** * Registers the oEmbed REST API route. * * @since 4.4.0

History

Introduced in 3.6.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 6.7.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.