Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: tiny_mce_version

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
1347      $zip = $compress_scripts ? 1 : 0;
1348
1349      /**
1350       * Deprecated
1351       *
1352       * The tiny_mce_version filter is not needed since external plugins are loaded directly by TinyMCE.
1353       * These plugins can be refreshed by appending query string to the URL passed to mce_external_plugins filter.
1354       * If the plugin has a popup dialog, a query string can be added to the button action that opens it (in the plugin's code).
1355       */
1356      $version = apply_filters('tiny_mce_version', '');
1357      $version = 'ver=' . $tinymce_version . $version;
1358
1359      if ( 'en' != $language )
1360           include_once(ABSPATH . WPINC . '/js/tinymce/langs/wp-langs.php');
1361
1362      $mce_options = '';
1363      foreach ( $initArray as $k => $v )
1364          $mce_options .= $k . ':"' . $v . '", ';
1365