tiny_mce_plugins, $plugins, $editor_id

tiny_mce_plugins, $plugins, $editor_id

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('tiny_mce_plugins, $plugins, $editor_id') is found 1 times:

  • /wp-includes/class-wp-editor.php line 461
    					 * @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'.