Filter hook 'oembed_linktypes'
in WP Core File wp-includes/class-wp-oembed.php at line 471
Description
Filters the link types that contain oEmbed provider URLs.
Occurrences
Filename |
Line Number |
wp-includes/class-wp-oembed.php |
471 |
Parameters
Type |
Name |
Description |
string[] |
$format |
Array of oEmbed link types. Accepts 'application/json+oembed', 'text/xml+oembed', and 'application/xml+oembed' (incorrect, used by at least Vimeo). |
PHP Doc
/**
* Filters the link types that contain oEmbed provider URLs.
*
* @since 2.9.0
*
* @param string[] $format Array of oEmbed link types. Accepts 'application/json+oembed',
* 'text/xml+oembed', and 'application/xml+oembed' (incorrect,
* used by at least Vimeo).
*/