Un motore di ricerca WordPress per sviluppatori e autori di temi



media_embedded_in_content_allowed_types ›

Da4.2.0
Deprecaton/a
apply_filters( 'media_embedded_in_content_allowed_types', array( 'audio', 'video', 'object', 'embed', 'iframe' )
Parametri:
  • (array) $allowed_media_types An array of allowed media types. Default media types are 'audio', 'video', 'object', 'embed', and 'iframe'.
    Richiesto:
Definito a:
Codex:

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





Sorgenti

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