LLMS_Template_Loader::restricted_by_lesson_drip( array $info )
Handle redirects and messages when a user attempts to access a lesson for that is restricted by lesson drip settings.
Description Description
Redirect to parent course and display message.
Parameters Parameters
- $info
-
(Required) Array of restriction info from
llms_page_restricted()
.
Return Return
(void)
Source Source
File: includes/class.llms.template.loader.php
Changelog Changelog
Version | Description |
---|---|
3.2.4 | Moved message generation to llms_get_restriction_message() |
3.0.0 | Introduced. |