Summery Summery

Filters the list of TinyMCE external plugins.

Syntax Syntax

apply_filters( 'mce_external_plugins', array $external_plugins, string $editor_id )

Description Description

The filter takes an associative array of external plugins for TinyMCE in the form ‘plugin_name’ => ‘url’.

The url should be absolute, and should include the js filename to be loaded. For example: ‘myplugin’ => ‘‘.

If the external plugin adds a button, it should be added with one of the ‘mce_buttons’ filters.

Parameters Parameters


An array of external TinyMCE plugins.


Unique editor identifier, e.g. 'content'. Accepts 'classic-block' when called from block editor's Classic block.

Source Source

File: wp-includes/class-wp-editor.php


Changelog Changelog

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


Leave a Reply