apply_filters( 'mce_buttons_2', array $mce_buttons_2, string $editor_id )

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


Parameters

$mce_buttons_2

Second-row list of buttons.

$editor_id

Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.


Source

File: wp-includes/class-wp-editor.php

View on GitHub



Changelog

Changelog
Version Description
3.3.0 The $editor_id parameter was added.
2.0.0 Introduced.