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

apply_filters('wp_super_cache_supercachedir') is found 1 times:

  • /wp-cache-phase2.php line 823
    819
    820
    821
    822
    823
    824
    825
    826
    827
    828
    829
            $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: