WordPress at a glance
filter is not described

mce_buttons_2 filter-hook . WP 2.0.0

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

Usage

add_filter( 'mce_buttons_2', 'filter_function_name_9837', 10, 2 );
function filter_function_name_9837( $mce_buttons_2, $editor_id ){
	// filter...

	return $mce_buttons_2;
}
$mce_buttons_2(array)
Second-row list of buttons.
$editor_id(string)
Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.

Changelog

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

Where the hook is called

_WP_Editors::editor_settings()
mce_buttons_2
wp_tinymce_inline_scripts()
mce_buttons_2
wp-includes/class-wp-editor.php 702
$mce_buttons_2 = apply_filters( 'mce_buttons_2', $mce_buttons_2, $editor_id );
wp-includes/script-loader.php 457
$toolbar2 = apply_filters( 'mce_buttons_2', $toolbar2, 'classic-block' );

Where in WP core the hook is used

Usage not found!