Welcome, visitor! Log in
 

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.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: apply_filters( "hook_name", "what_to_filter" ).

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
246                                    }
247
248                                    $ext_plugins .= 'tinyMCEPreInit.load_ext("' . $plugurl . '", "' . $mce_locale . '");' . "\n";
249                                    $ext_plugins .= 'tinymce.PluginManager.load("' . $name . '", "' . $url . '");' . "\n";
250
251                                    self::$ext_plugins .= $ext_plugins;
252                               }
253                          }
254
255                          $plugins = array_unique( apply_filters('tiny_mce_plugins', $plugins) );
256                     }
257
258                     if ( $set['dfw'] )
259                          $plugins[] = 'wpfullscreen';
260
261                     self::$plugins = $plugins;
262
263                     /*
264                     The following filter allows localization scripts to change the languages displayed in the spellchecker's drop-down menu.