Filters the path of the file to delete.
$filestring
$delete = apply_filters( 'wp_delete_file', $file );
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_delete_file