protected static process_delete_generated_files ( string $filename, string $ext, string $dir, string $search_pattern, string $match_pattern = null ) | ||
$filename | string | ex: my-pic |
$ext | string | ex: jpg |
$dir | string | var/www/wp-content/uploads/2015/ |
$search_pattern | string | pattern of files to pluck from |
$match_pattern | string | pattern of files to go forth and delete |