teeny_mce_plugins WordPress Filter Hook
The teeny_mce_plugins hook allows you to add custom TinyMCE plugins to your WordPress site. This hook is useful for adding custom buttons or custom functionality to the TinyMCE editor.
apply_filters( 'teeny_mce_plugins', array $plugins , string $editor_id ) #
Filters the list of teenyMCE plugins.
Parameters
- $plugins
(array)An array of teenyMCE plugins.
- $editor_id
(string)Unique editor identifier, e.g. 'content'.
Source
Changelog
Version | Description |
---|---|
3.3.0 | The $editor_id parameter was added. |
2.7.0 | Introduced. |