apply_filters( 'media_embedded_in_content_allowed_types', string[] $allowed_media_types )

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


Parameters Parameters

$allowed_media_types

(string[]) An array of allowed media types. Default media types are 'audio', 'video', 'object', 'embed', and 'iframe'.


Top ↑

Source Source

File: wp-includes/media.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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