A WordPress-centric search engine for devs and theme authors



wp_delete_file ›

Since2.1.0
Deprecatedn/a
apply_filters( 'wp_delete_file', $file )
Parameters:
  • (string) $file Path to the file to delete.
    Required: Yes
Defined at:
Codex:

Filters the path of the file to delete.





Source

$delete = apply_filters( 'wp_delete_file', $file );