Changeset 29012 for trunk/src/wp-includes/class-oembed.php
- Timestamp:
- 07/07/2014 06:33:23 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-oembed.php
r28950 r29012 199 199 } 200 200 201 /** 202 * Add an oEmbed provider just-in-time when wp_oembed_add_provider() is called 203 * before the 'plugins_loaded' hook. 204 * 205 * The just-in-time addition is for the benefit of the 'oembed_providers' filter. 206 * 207 * @since 4.0.0 208 * @static 209 * 210 * @see wp_oembed_add_provider() 211 * 212 * @param string $format The format of URL that this provider can handle. You can use 213 * asterisks as wildcards. 214 * @param string $provider The URL to the oEmbed provider.. 215 * @param bool $regex Optional. Whether the $format parameter is in a regex format. 216 * Default false. 217 */ 201 218 public static function _add_provider_early( $format, $provider, $regex = false ) { 202 219 if ( empty( self::$early_providers['add'] ) ) { … … 207 224 } 208 225 226 /** 227 * Remove an oEmbed provider just-in-time when wp_oembed_remove_provider() is called 228 * before the 'plugins_loaded' hook. 229 * 230 * The just-in-time removal is for the benefit of the 'oembed_providers' filter. 231 * 232 * @since 4.0.0 233 * @static 234 * 235 * @see wp_oembed_remove_provider() 236 * 237 * @param string $format The format of URL that this provider can handle. You can use 238 * asterisks as wildcards. 239 */ 209 240 public static function _remove_provider_early( $format ) { 210 241 if ( empty( self::$early_providers['remove'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.