wphooks.info - wp_embed_handler_video

wp_embed_handler_video

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/embed.php:
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
	/**
	 * Filters the video embed output.
	 *
	 * @since 3.6.0
	 *
	 * @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
 */
function wp_oembed_register_route() {
	$controller = new WP_oEmbed_Controller();