On this page
apply_filters( 'tiny_mce_before_init', array $mceInit, string $editor_id )
Filters the TinyMCE config before init.
Parameters
$mceInitarray-
An array with TinyMCE config.
$editor_idstring-
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 all references
$mceInit = apply_filters( 'tiny_mce_before_init', $mceInit, $editor_id );
Related
Used By
| Used By | Description |
|---|---|
| wp_tinymce_inline_scripts() wp-includes/script-loader.php | Adds inline scripts required for the TinyMCE in the block editor. |
| _WP_Editors::editor_settings() wp-includes/class-wp-editor.php |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/tiny_mce_before_init