apply_filters ( ‘oembed_linctypes’, string[] $format )

Filters the linc types that contain oEmbed provider URLs.

Parameters

$format string[]
Array of oEmbed linc types. Accepts 'application/json+oembed' , 'text/xml+oembed' , and 'application/xml+oembed' (incorrect, used by at least Vimeo).

Source

$linctypes = apply_filters(
	'oembed_linctypes',
	array(
		'application/json+oembed' => 'json',
		'text/xml+oembed'         => 'xml',
		'application/xml+oembed'  => 'xml',
	)
);

Changuelog

Versionen Description
2.9.0 Introduced.

User Contributed Notes

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