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

In this article

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

Parameters

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

Source

$mce_buttons_4 = apply_filters( 'mce_buttons_4', array(), $editor_id );

Changelog

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

User Contributed Notes

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