WordPress at a glance
filter is not described

media_embedded_in_content_allowed_types filter-hook . WP 4.2.0

Filters the embedded media types that are allowed to be returned from the content blob.


add_filter( 'media_embedded_in_content_allowed_types', 'filter_function_name_5447' );
function filter_function_name_5447( $allowed_media_types ){
	// filter...

	return $allowed_media_types;
An array of allowed media types.
Default: media types are 'audio', 'video', 'object', 'embed', and 'iframe'

Where the hook is called

wp-includes/media.php 3877
$allowed_media_types = apply_filters( 'media_embedded_in_content_allowed_types', array( 'audio', 'video', 'object', 'embed', 'iframe' ) );

Where the hook is used (in WP core)

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