Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: mce_external_plugins

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
339                           * 'myplugin' => 'http://mysite.com/wp-content/plugins/myfolder/mce_plugin.js'.
340                           *
341                           * If the external plugin adds a button, it should be added with
342                           * one of the 'mce_buttons' filters.
343                           *
344                           * @since 2.5.0
345                           *
346                           * @param array $external_plugins An array of external TinyMCE plugins.
347                           */
348                          $mce_external_plugins = apply_filters( 'mce_external_plugins', array() );
349
350                          $plugins = array(
351                               'charmap',
352                               'colorpicker',
353                               'hr',
354                               'lists',
355                               'media',
356                               'paste',
357                               'tabfocus',