7762* Filters the path of the file to delete.7763*7764* @since 2.1.07765*7766* @param string$file Path to the file to delete.7767*/7768$delete=apply_filters('wp_delete_file',$file);77697770if(!empty($delete)){7771return @unlink($delete);7772}77737774returnfalse;
History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.