Uma área de pesquisa sobre o WordPress para devs e autores do tema



media_embedded_in_content_allowed_types ›

Desde4.2.0
Obsoleton/a
apply_filters( 'media_embedded_in_content_allowed_types', array( 'audio', 'video', 'object', 'embed', 'iframe' )
Parâmetros:
  • (array) $allowed_media_types An array of allowed media types. Default media types are 'audio', 'video', 'object', 'embed', and 'iframe'.
    Required: Yes
Definido em:
Codex:

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





Fonte

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