apply_filters( ‘mce_buttons’, array $mce_buttons, string $editor_id )

Filters the first-row list of TinyMCE buttons (Visual tab).

Parameters

$mce_buttonsarray
First-row list of buttons.
$editor_idstring
Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor’s Classic block.

More Information

See other relevant mce_buttons hooks:

Source

$mce_buttons = apply_filters( 'mce_buttons', $mce_buttons, $editor_id );

Changelog

VersionDescription
3.3.0The $editor_id parameter was added.
2.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.