Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



media_embedded_in_content_allowed_types ›

Seit4.2.0
Veraltetn/v
apply_filters( 'media_embedded_in_content_allowed_types', array( 'audio', 'video', 'object', 'embed', 'iframe' )
Parameter:
  • (array) $allowed_media_types An array of allowed media types. Default media types are 'audio', 'video', 'object', 'embed', and 'iframe'.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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