W3cubDocs

/WordPress

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

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

Parameters

$mce_buttons_4

(array) Fourth-row list of buttons.

$editor_id

(string) 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 Trac

Changelog

Version Description
3.3.0 The $editor_id parameter was added.
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/mce_buttons_4