Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: tiny_mce_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
270                                         if ( ! empty($strings) )
271                                              $ext_plugins .= "\n" . $strings . "\n";
272                                    }
273
274                                    $ext_plugins .= 'tinyMCEPreInit.load_ext("' . $plugurl . '", "' . $mce_locale . '");' . "\n";
275                                    $ext_plugins .= 'tinymce.PluginManager.load("' . $name . '", "' . $url . '");' . "\n";
276                               }
277                          }
278
279                          $plugins = array_unique( apply_filters('tiny_mce_plugins', $plugins) );
280                     }
281
282                     if ( $set['dfw'] )
283                          $plugins[] = 'wpfullscreen';
284
285                     self::$plugins = $plugins;
286                     self::$ext_plugins = $ext_plugins;
287
288                     if ( in_array( 'spellchecker', $plugins ) ) {