Description
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.
Occurrences
Filename | Line Number |
---|---|
wp-includes/class-wp-editor.php | 459 |
wp-includes/script-loader.php | 547 |
Parameters
Type | Name | Description |
---|---|---|
array | $plugins | An array of default TinyMCE plugins. |
string | $editor_id | Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block. |
PHP Doc
/**
* 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.
*
* @since 3.3.0
* @since 5.3.0 The `$editor_id` parameter was added.
*
* @param array $plugins An array of default TinyMCE plugins.
* @param string $editor_id Unique editor identifier, e.g. 'content'. Accepts 'classic-block'
* when called from block editor's Classic block.
*/