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
219 if ( $compress && isset($_SERVER['HTTP_ACCEPT_ENCODING']) ) {
220      if ( ( false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') || isset($_SERVER['---------------']) ) && function_exists('gzencode') && ! ini_get('zlib.output_compression') ) {
221           $cache_ext = '.gz';
222      }
223 }
224
225 // Setup cache info
226 if ( $disk_cache ) {
227
228      $cacheKey = apply_filters('tiny_mce_version', '20080710');
229
230      foreach ( $initArray as $v )
231           $cacheKey .= $v;
232
233      if ( ! empty($mce_external_plugins) ) {
234           foreach ( $mce_external_plugins as $n => $v )
235                $cacheKey .= $n;
236      }
237