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

IsModal()

Description

Check if current page is a modal and set global $modal variable if not already set

Parameters

This function accepts no parameters.

Return

boolean true if modal, false otherwise

This article was last updated 24th November 2020 06:05 Europe/London time based on the source file dated 18th November 2020 08:15 Europe/London time.