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

do_action('wp_cache_gc') is found 1 times:

  • /wp-cache-phase2.php line 2879
    	}
    	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: