wpseek.com
A WordPress-centric search engine for devs and theme authors



tiny_mce_plugins › WordPress Filter Hooks

Since5.3.0
Deprecatedn/a
apply_filters( 'tiny_mce_plugins', $plugins, $editor_id )
Parameters: (2)
  • (array) $plugins An array of default TinyMCE plugins.
    Required: Yes
  • (string) $editor_id Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.
    Required: Yes
Defined at:
Codex:

Filters the list of default TinyMCE plugins.

The filter specifies which of the default plugins included in WordPress should be added to the TinyMCE instance.





Source

$plugins = array_unique( apply_filters( 'tiny_mce_plugins', $plugins, $editor_id ) );