public remove_local_files ( array $file_paths ) | ||
$file_paths | array | array of files to remove |
function remove_local_files($file_paths)
{
foreach ($file_paths as $path) {
if (false !== ($pre = apply_filters('as3cf_preserve_file_from_local_removal', false, $path))) {
continue;
}
if (!@unlink($path)) {
AS3CF_Error::log('Error removing local file ' . $path);
}
}
}