supercache_dir
supercache_dir
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
Displaying hooks found in version: wp-super-cache.1.9.4apply_filters('supercache_dir') is found 1 times:
- /wp-cache-phase2.php line 760
$hostname = (string) parse_url( get_option( 'home' ), PHP_URL_HOST ); } $dir = preg_replace( '/:.*$/', '', $hostname ) . $uri; // To avoid XSS attacks if ( function_exists( 'apply_filters' ) ) { $dir = apply_filters( 'supercache_dir', $dir ); } else { $dir = do_cacheaction( 'supercache_dir', $dir ); } $dir = $cache_path . 'supercache/' . $dir . '/'; if ( is_array( $cached_direct_pages ) && in_array( $_SERVER['REQUEST_URI'], $cached_direct_pages ) ) { $dir = ABSPATH . $uri . '/';