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 |
---|---|
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 | |