Skip to content

Controller

flashDelete()

flashDelete() — returns any

Available in: controller Category: Flash Functions

Deletes a specific key from the Flash. Returns true if the key exists.

NameTypeRequiredDefaultDescription
keystringyesThe key to delete
flashDelete(key="errorMessage");