wp_delete_file


wp_delete_file ( $file )

Parameters:
  • (string) file The path to the file to delete.
Returns:
  • (bool) True on success, false on failure.
Defined at:
Change Log:
  • 6: .

Description

Deletes a file.

Related Functions

wp_delete_site, wp_delete_link, wp_delete_term, wp_delete_user, _deprecated_file

Top Google Results

User discussions

wpseek mobile