wp_cache_gc

wp_cache_gc

Hook Type: action
See hook in action

See hook in core

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

do_action('wp_cache_gc') is found 1 times:

  • /wp-cache-phase2.php line 2998
    2994
    2995
    2996
    2997
    2998
    2999
    3000
    3001
    3002
    3003
    3004
        }
        global $time_to_gc_cache;
        if ( isset( $time_to_gc_cache ) && $time_to_gc_cache == 1 ) {
            wp_cache_debug( 'Executing wp_cache_gc action.', 3 );
            do_action( 'wp_cache_gc' );
        }
    }
     
    function wp_cache_no_postid( $id ) {
        return wp_cache_post_change( wp_cache_post_id() );
    }

See this hook used in plugins: