wpsc_rebuild_files()
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 (null).
Usage
wpsc_rebuild_files( $dir );
- $dir (required)
- -
wpsc_rebuild_files() wpsc rebuild files code WPSCache 1.12.4
function wpsc_rebuild_files( $dir ) { return wpsc_delete_files( $dir, false ); }