Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

error_alert()

Description

Display a styledalert() modal error and optionally return the browser to the previous page after 2 seconds

Parameters

ColumnTypeDefaultDescription
$error string Error text to display
$back boolean true Return to previous page?
$code integer 403 (Optional) HTTP code to return

Return

void

This article was last updated 1st December 2020 08:05 Europe/London time based on the source file dated 30th November 2020 09:45 Europe/London time.