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
1459      $zip = $compress_scripts ? 1 : 0;
1460
1461      /**
1462       * Deprecated
1463       *
1464       * The tiny_mce_version filter is not needed since external plugins are loaded directly by TinyMCE.
1465       * These plugins can be refreshed by appending query string to the URL passed to mce_external_plugins filter.
1466       * 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).
1467       */
1468      $version = apply_filters('tiny_mce_version', '');
1469      $version = 'ver=' . $tinymce_version . $version;
1470
1471      if ( 'en' != $language )
1472           include_once(ABSPATH . WPINC . '/js/tinymce/langs/wp-langs.php');
1473
1474      $mce_options = '';
1475      foreach ( $initArray as $k => $v )
1476          $mce_options .= $k . ':"' . $v . '", ';
1477