apply_filters( ‘media_embedded_in_content_allowed_types’, string[] $allowed_media_types )

In this article

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

Parameters

$allowed_media_typesstring[]
An array of allowed media types. Default media types are 'audio', 'video', 'object', 'embed', and 'iframe'.

Source

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

Changelog

VersionDescription
4.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.