Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Template_Loader::handle_restriction( string $msg = '', string $redirect = '', string $msg_type = 'notice' )
Add a notice and/or redirect during restriction actions
Description Description
Parameters Parameters
- $msg
-
(Optional) Notice message to display.
Default value: ''
- $redirect
-
(Optional) Url to redirect to after setting a notice.
Default value: ''
- $msg_type
-
(Optional) Type of message to display [notice|success|error|debug]. Default 'notice'.
Default value: 'notice'
Return Return
(void)
Source Source
File: includes/class.llms.template.loader.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |