WordPress at Your Fingertips
function is not described

wp_cache_clear_cache() WPSCache 1.0

Clear out the cache directory.

Hooks from the function
Return

null. Nothing.

Usage

wp_cache_clear_cache( $blog_id );
$blog_id **
-

Code of wp_cache_clear_cache() WPSCache 1.7.4

<?php
function wp_cache_clear_cache( $blog_id = 0 ) {
	global $cache_path;

	if ( $blog_id == 0 ) {
		wp_cache_debug( 'Clearing all cached files in wp_cache_clear_cache()', 4 );
		prune_super_cache( $cache_path . 'supercache/', true );
		prune_super_cache( $cache_path, true );
	} else {
		wp_cache_debug( "Clearing all cached files for blog $blog_id in wp_cache_clear_cache()", 4 );
		prune_super_cache( get_supercache_dir( $blog_id ), true );
		prune_super_cache( $cache_path . 'blogs/', true );
	}

	do_action( 'wp_cache_cleared' );
}