7705* Filters the path of the file to delete.7706*7707* @since 2.1.07708*7709* @param string$file Path to the file to delete.7710*/7711$delete=apply_filters('wp_delete_file',$file);77127713if(!empty($delete)){7714return @unlink($delete);7715}77167717returnfalse;
History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.