tiny_mce_plugins

tiny_mce_plugins

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

See hook in core

Displaying hooks found in version: wordpress-6.6.2

apply_filters('tiny_mce_plugins') is found 2 times:

  • /wp-includes/class-wp-editor.php line 459
    					 * @param array  $plugins   An array of default TinyMCE plugins.
    					 * @param string $editor_id Unique editor identifier, e.g. 'content'. Accepts 'classic-block'
    					 *                          when called from block editor's Classic block.
    					 */
    					$plugins = array_unique( apply_filters( 'tiny_mce_plugins', $plugins, $editor_id ) );
    
    					$key = array_search( 'spellchecker', $plugins, true );
    					if ( false !== $key ) {
    						/*
    						 * Remove 'spellchecker' from the internal plugins if added with 'tiny_mce_plugins' filter to prevent errors.
    						 * It can be added with 'mce_external_plugins'.
    
  • /wp-includes/script-loader.php line 547
    		'wpview',
    	);
    
    	/** This filter is documented in wp-includes/class-wp-editor.php */
    	$tinymce_plugins = apply_filters( 'tiny_mce_plugins', $tinymce_plugins, 'classic-block' );
    	$tinymce_plugins = array_unique( $tinymce_plugins );
    
    	$disable_captions = false;
    	// Runs after `tiny_mce_plugins` but before `mce_buttons`.
    	/** This filter is documented in wp-admin/includes/media.php */
    	if ( apply_filters( 'disable_captions', '' ) ) {
    

See this hook used in plugins: