wpsc_rebuild_files() WPSCache 1.0
Delete (or rebuild) all the files in one directory. Checks if it is in the cache directory but doesn't allow files in the following directories to be deleted: wp-content/cache/ wp-content/cache/blogs/ wp-content/cache/supercache/
No Hooks.
Return
Null. Nothing.
Usage
wpsc_rebuild_files( $dir );
Code of wpsc_rebuild_files() wpsc rebuild files WPSCache 1.7.1
function wpsc_rebuild_files( $dir ) {
return wpsc_delete_files( $dir, false );
}