do_createsupercache
do_createsupercache
Appears in: wp-super-cache.1.10.0, wp-super-cache.1.11.0, wp-super-cache.1.12.0, wp-super-cache.1.12.1, wp-super-cache.1.12.3, wp-super-cache.1.12.4, wp-super-cache.1.6.2, wp-super-cache.1.6.4, wp-super-cache.1.6.5, wp-super-cache.1.6.7, wp-super-cache.1.6.8, wp-super-cache.1.6.9, wp-super-cache.1.7.0, wp-super-cache.1.7.1, wp-super-cache.1.7.2, wp-super-cache.1.7.3, wp-super-cache.1.7.4, wp-super-cache.1.7.7, wp-super-cache.1.7.9, wp-super-cache.1.8, wp-super-cache.1.9, wp-super-cache.1.9.1, wp-super-cache.1.9.2, wp-super-cache.1.9.3, wp-super-cache.1.9.4
Hook Type: filter
See hook in action
Displaying hooks found in version: wp-super-cache.1.9.4apply_filters('do_createsupercache') is found 2 times:
- /wp-cache-phase2.php line 1493
if ( ( $_SERVER['REQUEST_METHOD'] !== 'POST' && empty( $_POST ) ) && $super_cache_enabled && $cache_rebuild_files ) { $user_info = wp_cache_get_cookies_values(); if ( empty( $user_info ) || true === apply_filters( 'do_createsupercache', $user_info ) ) { wpcache_do_rebuild( get_current_url_supercache_dir() ); } } schedule_wp_gc();
- /wp-cache-phase2.php line 2282
return wp_cache_maybe_dynamic( $buffer ); } } else { $user_info = wp_cache_get_cookies_values(); $do_cache = apply_filters( 'do_createsupercache', $user_info ); if ( $super_cache_enabled && ( $user_info == '' || $do_cache === true )