apply_filters( 'wp_delete_file', string $file )

Filters the path of the file to delete.


Parameters

$file

(string) Path to the file to delete.


Source

File: wp-includes/functions.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.1.0 Introduced.