Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

try_unlink()

Description

Try and delete a file without triggering a fatal error

Parameters

ColumnTypeDefaultDescription
$deletefile string Full path to file

Return

bool|string Returns TRUE on success or a string containing error

This article was last updated 19th March 2024 08:05 Europe/London time based on the source file dated 11th March 2024 11:40 Europe/London time.