delete_file
The delete_file
method deletes a file.
Syntax
delete_file( path )
Arguments
Argument | Description |
---|---|
path
|
(string) The path and filename of the file to delete. |
Returns
(Boolean). A boolean, true
to indicate success or false
for failure.