wp_super_cache_supercachedir

wp_super_cache_supercachedir

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wp-super-cache.1.9.4

apply_filters('wp_super_cache_supercachedir') is found 1 times:

  • /wp-cache-phase2.php line 703
    		$home = get_option( 'home' );
    	} else {
    		$home = get_blog_option( $blog_id, 'home' );
    	}
    	return trailingslashit( apply_filters( 'wp_super_cache_supercachedir', $cache_path . 'supercache/' . trailingslashit( strtolower( preg_replace( '/:.*$/', '', str_replace( 'http://', '', str_replace( 'https://', '', $home ) ) ) ) ) ) );
    }
    function get_current_url_supercache_dir( $post_id = 0 ) {
    	global $cached_direct_pages, $cache_path, $wp_cache_request_uri, $WPSC_HTTP_HOST, $wp_cache_home_path;
    	static $saved_supercache_dir = array();
    
    	if ( isset( $saved_supercache_dir[ $post_id ] ) ) {
    

See this hook used in plugins: