W3cubDocs

/WordPress

apply_filters( 'oembed_linktypes', string[] $format )

Filters the link types that contain oEmbed provider URLs.

Parameters

$format

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

Source

File: wp-includes/class-wp-oembed.php

View on Trac

Changelog

Version Description
2.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/oembed_linktypes