apply_filters( 'mce_external_plugins', array $external_plugins )

Filters the list of TinyMCE external plugins.


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’ => ‘http://mysite.com/wp-content/plugins/myfolder/mce_plugin.js‘.

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


Parameters Parameters

$external_plugins

(array) An array of external TinyMCE plugins.


Top ↑

Source Source

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

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.