wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_oembed_remove_provider › WordPress Function
Since3.5.0
Deprecatedn/a
› wp_oembed_remove_provider ( $format )
Parameters: |
|
See: |
|
Returns: |
|
Defined at: |
|
Codex: |
Removes an oEmbed provider.
Source
function wp_oembed_remove_provider( $format ) {
if ( did_action( 'plugins_loaded' ) ) {
$oembed = _wp_oembed_get_object();
if ( isset( $oembed->providers[ $format ] ) ) {
unset( $oembed->providers[ $format ] );
return true;
}
} else {
WP_oEmbed::_remove_provider_early( $format );
}
return false;
}