7724* Filters the path of the file to delete.7725*7726* @since 2.1.07727*7728* @param string$file Path to the file to delete.7729*/7730$delete=apply_filters('wp_delete_file',$file);77317732if(!empty($delete)){7733return @unlink($delete);7734}77357736returnfalse;
History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.