On this page
apply_filters( 'tiny_mce_plugins', array $plugins, string $editor_id )
Filters the list of default TinyMCE plugins.
Description
The filter specifies which of the default plugins included in WordPress should be added to the TinyMCE instance.
Parameters
$pluginsarray-
An array of default TinyMCE plugins.
$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
$plugins = array_unique( apply_filters( 'tiny_mce_plugins', $plugins, $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_plugins