Used By
Used By | Description |
---|---|
wp-includes/embed.php: wp_oembed_remove_provider() | Removes an oEmbed provider. |
Removes an oEmbed provider.
The provider is removed just-in-time when wp_oembed_remove_provider() is called before the ‘plugins_loaded’ hook.
The just-in-time removal is for the benefit of the ‘oembed_providers’ filter.
(string) (Required) The format of URL that this provider can handle. You can use asterisks as wildcards.
File: wp-includes/class-wp-oembed.php
public static function _remove_provider_early( $format ) { if ( empty( self::$early_providers['remove'] ) ) { self::$early_providers['remove'] = array(); } self::$early_providers['remove'][] = $format; }
Version | Description |
---|---|
4.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_oembed/_remove_provider_early