media_embedded_in_content_allowed_types

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$allowed_media_types

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

Source Source

File: wp-includes/media.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

Advertisement

Leave a Reply