WordPress как на ладони
wordpress jino
фильтр не описан

wp_video_embed_handler хук-фильтр . WP 3.6.0

Filters the video embed handler callback.

Использование

add_filter( 'wp_video_embed_handler', 'filter_function_name_9665' );
function filter_function_name_9665( $handler ){
	// filter...

	return $handler;
}
$handler(callable)
Video embed handler callback function.

Связи хука

Используется в: wp_maybe_load_embeds()

Остальные хуки из: wp_maybe_load_embeds():

Кусок кода с хуком

Фрагмент из: wp-includes/embed.php WP 4.9
...
	 * Filters the audio embed handler callback.
	 *
	 * @since 3.6.0
	 *
	 * @param callable $handler Audio embed handler callback function.
	 */
	wp_embed_register_handler( 'audio', '#^https?://.+?\.(' . join( '|', wp_get_audio_extensions() ) . ')$#i', apply_filters( 'wp_audio_embed_handler', 'wp_embed_handler_audio' ), 9999 );

	/**
	 * Filters the video embed handler callback.
	 *
	 * @since 3.6.0
	 *
	 * @param callable $handler Video embed handler callback function.
	 */
	wp_embed_register_handler( 'video', '#^https?://.+?\.(' . join( '|', wp_get_video_extensions() ) . ')$#i', apply_filters( 'wp_video_embed_handler', 'wp_embed_handler_video' ), 9999 );
}

/**
 * YouTube iframe embed handler callback.
 *
 * Catches YouTube iframe embed URLs that are not parsable by oEmbed but can be translated into a URL that is.
 *
 * @since 4.0.0
 *
 * @global WP_Embed $wp_embed
 *
 * @param array  $matches The RegEx matches from the provided regex when calling
 *                        wp_embed_register_handler().
 * @param array  $attr    Embed attributes.
 * @param string $url     The original URL that was matched by the regex.
...