Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-editor.php | apply_filters | 699 | /** * Filters the second-row list of TinyMCE buttons (Visual tab). * * @since 2.0.0 * @since 3.3.0 The `$editor_id` parameter was added. * * @param array $mce_buttons_2 Second-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. */ |
wp-includes/script-loader.php | apply_filters | 557 | /** * Adds inline scripts required for the TinyMCE in the block editor. * * These TinyMCE init settings are used to extend and override the default settings * from `_WP_Editors::default_settings()` for the Classic block. * * @since 5.0.0 * * @global WP_Scripts $wp_scripts */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $mce_buttons_2 | Second-row list of buttons. |
string | $editor_id | Unique editor identifier, e.g. 'content'. Accepts 'classic-block' |