wp_cache_cleared
wp_cache_cleared
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: action
Displaying hooks found in version: wp-super-cache.1.9.4do_action('wp_cache_cleared') is found 4 times:
- /wp-cache-phase2.php line 2520
} } } closedir( $handle ); do_action( 'wp_cache_cleared' ); } wp_cache_writers_exit(); } function prune_super_cache( $directory, $force = false, $rename = false ) {
- /wp-cache-phase2.php line 2971
prune_super_cache( get_supercache_dir( $blog_id ), true ); prune_super_cache( $cache_path . 'blogs/', true ); } do_action( 'wp_cache_cleared' ); } function wpsc_delete_post_archives( $post ) { $post = @get_post( $post ); if ( ! is_object( $post ) ) { return;
- /wp-cache-phase2.php line 3118
wp_cache_debug( "wp_cache_post_edit: Clearing cache $blog_cache_dir and {$cache_path}supercache/ on post edit per config.", 2 ); prune_super_cache( $blog_cache_dir, true ); prune_super_cache( get_supercache_dir(), true ); do_action( 'wp_cache_cleared' ); } else { $action = current_filter(); wp_cache_debug( "wp_cache_post_edit: Clearing cache for post $post_id on {$action}", 2 ); wp_cache_post_change( $post_id ); wpsc_delete_post_archives( $post_id ); // delete related archive pages. }
- /wp-cache.php line 2662
function wp_cache_clean_cache( $file_prefix, $all = false ) { global $cache_path, $supercachedir, $blog_cache_dir; do_action( 'wp_cache_cleared' ); if ( $all == true && wpsupercache_site_admin() && function_exists( 'prune_super_cache' ) ) { prune_super_cache( $cache_path, true ); return true; } if ( $supercachedir == '' )