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

$plugins

(array) An array of default TinyMCE plugins.

$editor_id

(string) 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 on Trac

Changelog

Version Description
5.3.0 The $editor_id parameter was added.
3.3.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/tiny_mce_plugins