oembed_providers

oembed_providers

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('oembed_providers') is found 1 times:

  • /wp-includes/class-wp-oembed.php line 224
    		 * @since 2.9.0
    		 *
    		 * @param array[] $providers An array of arrays containing data about popular oEmbed providers.
    		 */
    		$this->providers = apply_filters( 'oembed_providers', $providers );
    
    		// Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().
    		add_filter( 'oembed_dataparse', array( $this, '_strip_newlines' ), 10, 3 );
    	}
    
    	/**
    

See this hook used in plugins: