Summery Summery
Removes an oEmbed provider.
Syntax Syntax
Parameters Parameters
- $format
-
(Required) The URL format for the oEmbed provider to remove.
Return Return
(bool) Was the provider removed successfully?
Source Source
File: wp-includes/embed.php
if ( isset( $oembed->providers[ $format ] ) ) { unset( $oembed->providers[ $format ] ); return true; } } else { WP_oEmbed::_remove_provider_early( $format ); } return false; } /** * Determines if default embed handlers should be loaded.
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |