mce_buttons_4

mce_buttons_4

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

See hook in core

Displaying hooks found in version: wordpress-6.5.3

apply_filters('mce_buttons_4') is found 2 times:

  • /wp-includes/class-wp-editor.php line 731
    				 * @param array  $mce_buttons_4 Fourth-row list of buttons.
    				 * @param string $editor_id     Unique editor identifier, e.g. 'content'. Accepts 'classic-block'
    				 *                              when called from block editor's Classic block.
    				 */
    				$mce_buttons_4 = apply_filters( 'mce_buttons_4', array(), $editor_id );
    			}
    
    			$body_class = $editor_id;
    
    			$post = get_post();
    			if ( $post ) {
    
  • /wp-includes/script-loader.php line 599
    	$toolbar2 = apply_filters( 'mce_buttons_2', $toolbar2, 'classic-block' );
    	/** This filter is documented in wp-includes/class-wp-editor.php */
    	$toolbar3 = apply_filters( 'mce_buttons_3', array(), 'classic-block' );
    	/** This filter is documented in wp-includes/class-wp-editor.php */
    	$toolbar4 = apply_filters( 'mce_buttons_4', array(), 'classic-block' );
    	/** This filter is documented in wp-includes/class-wp-editor.php */
    	$external_plugins = apply_filters( 'mce_external_plugins', array(), 'classic-block' );
    
    	$tinymce_settings = array(
    		'plugins'              => implode( ',', $tinymce_plugins ),
    		'toolbar1'             => implode( ',', $toolbar1 ),
    

See this hook used in plugins: