mce_buttons

mce_buttons

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('mce_buttons') is found 2 times:

  • /wp-includes/class-wp-editor.php line 680
    				 * @param array  $mce_buttons First-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 = apply_filters( 'mce_buttons', $mce_buttons, $editor_id );
    
    				$mce_buttons_2 = array(
    					'strikethrough',
    					'hr',
    					'forecolor',
    					'pastetext',
    
  • /wp-includes/script-loader.php line 573
    		'wp_adv',
    	);
    
    	/** This filter is documented in wp-includes/class-wp-editor.php */
    	$toolbar1 = apply_filters( 'mce_buttons', $toolbar1, 'classic-block' );
    
    	$toolbar2 = array(
    		'strikethrough',
    		'hr',
    		'forecolor',
    		'pastetext',
    

See this hook used in plugins: