apply_filters( 'tiny_mce_before_init', array $mceInit, string $editor_id )
Filters the TinyMCE config before init.
Parameters
- $mceInit
-
(array) An array with TinyMCE config.
- $editor_id
-
(string) Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.
Source
Changelog
Version | Description |
---|---|
3.3.0 | The $editor_id parameter was added. |
2.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/tiny_mce_before_init