Filters the first-row list of TinyMCE buttons (Visual tab).
$mce_buttonsarray$editor_idstringwp-includes/class-wp-editor.php:680_WP_Editors::editor_settings()wp-includes/script-loader.php:575wp_tinymce_inline_scripts()<?php * @since 3.3.0 The `$editor_id` parameter was added. * * @param array $mce_buttons First-row list of buttons. * @param string $editor_id Unique editor identifier, e.g. 'content'. Accepts 'classic-block' * when called from block editor's Classic block. */ $mce_buttons = apply_filters( 'mce_buttons', $mce_buttons, $editor_id ); $mce_buttons_2 = array( 'strikethrough', 'hr', 'forecolor', 'pastetext',Introduced in 2.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.