A WordPress-centric search engine for devs and theme authors



media_embedded_in_content_allowed_types ›

Since4.2.0
Deprecatedn/a
apply_filters( 'media_embedded_in_content_allowed_types', array( 'audio', 'video', 'object', 'embed', 'iframe' )
Parameters:
  • (array) $allowed_media_types An array of allowed media types. Default media types are 'audio', 'video', 'object', 'embed', and 'iframe'.
    Required: Yes
Defined at:
Codex:

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





Source

$allowed_media_types = apply_filters( 'media_embedded_in_content_allowed_types', array( 'audio', 'video', 'object', 'embed', 'iframe' ) );