Filters the embedded media types that are allowed to be returned from the content blob.
Parameters
$allowed_media_types
string[]- An array of allowed media types. Default media types are
'audio'
,'video'
,'object'
,'embed'
, and'iframe'
.
Source
$allowed_media_types = apply_filters( 'media_embedded_in_content_allowed_types', array( 'audio', 'video', 'object', 'embed', 'iframe' ) );
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.