oembed_linktypes

oembed_linktypes

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.0.3

apply_filters('oembed_linktypes') is found 1 times:

  • /wp-includes/class-oembed.php line 454
    			 * @param array $format Array of oEmbed link types. Accepts 'application/json+oembed',
    			 *                      'text/xml+oembed', and 'application/xml+oembed' (incorrect,
    			 *                      used by at least Vimeo).
    			 */
    			$linktypes = apply_filters( 'oembed_linktypes', array(
    				'application/json+oembed' => 'json',
    				'text/xml+oembed' => 'xml',
    				'application/xml+oembed' => 'xml',
    			) );
    
    			// Strip <body>