On this page
apply_filters( 'wp_delete_file', string $file )
Filters the path of the file to delete.
Parameters
$filestring-
Path to the file to delete.
Source
File: wp-includes/functions.php. View all references
$delete = apply_filters( 'wp_delete_file', $file );
Related
Used By
| Used By | Description |
|---|---|
| wp_delete_file() wp-includes/functions.php | Deletes a file. |
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_delete_file