WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
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.
Line | Code |
---|---|
214 | if ( $compress && isset($_SERVER['HTTP_ACCEPT_ENCODING']) ) { |
215 | if ( ( false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip') || isset($_SERVER['---------------']) ) && function_exists('gzencode') && ! ini_get('zlib.output_compression') ) { |
216 | $cache_ext = '.gz'; |
217 | } |
218 | } |
219 |
|
220 | // Setup cache info |
221 | if ( $disk_cache ) { |
222 |
|
223 | $cacheKey = apply_filters('tiny_mce_version', '20080327'); |
224 |
|
225 | foreach ( $initArray as $v ) |
226 | $cacheKey .= $v; |
227 |
|
228 | if ( ! empty($mce_external_plugins) ) { |
229 | foreach ( $mce_external_plugins as $n => $v ) |
230 | $cacheKey .= $n; |
231 | } |
232 | |