WordPress at Your Fingertips
filter is not described

tiny_mce_plugins filter-hook . WP 3.3.0

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.


add_filter( 'tiny_mce_plugins', 'filter_function_name_960', 10, 2 );
function filter_function_name_960( $plugins, $editor_id ){
	// filter...

	return $plugins;
An array of default TinyMCE plugins.
Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.


Since 3.3.0 Introduced.
Since 5.3.0 The $editor_id parameter was added.

Where the hook is called

wp-includes/class-wp-editor.php 456
$plugins = array_unique( apply_filters( 'tiny_mce_plugins', $plugins, $editor_id ) );
wp-includes/script-loader.php 436
$tinymce_plugins = apply_filters( 'tiny_mce_plugins', $tinymce_plugins, 'classic-block' );

Where in WP core the hook is used WordPress

Usage not found.