• LifterLMS
  • Knowledge Base
  • Academy
  • Blog
  • Podcast
  • Contributors
  • My Account

LifterLMS LifterLMS

  • Code Reference
  • REST API
  • LLMS-CLI

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Code Reference / 3.2.4

llms_get_restriction_message()

Function: Retrieve a message describing the reason why content is restricted.

Source: includes/functions/llms.functions.access.php:196

Used by 5 functions | Uses 4 functions

LLMS_Template_Loader::restricted_by_enrollment_lesson()

Method: Handle redirects and messages when a user attempts to access a lesson for a course they’re not enrolled in.

Source: includes/class.llms.template.loader.php:261

Used by 0 functions | Uses 2 functions

LLMS_Template_Loader::restricted_by_lesson_drip()

Method: Handle redirects and messages when a user attempts to access a lesson for that is restricted by lesson drip settings.

Source: includes/class.llms.template.loader.php:287

Used by 0 functions | Uses 3 functions

LLMS_Template_Loader::restricted_by_lesson_prerequisite()

Method: Handle redirects and messages when a user attempts to access a lesson for that is restricted by prerequisite lesson.

Source: includes/class.llms.template.loader.php:314

Used by 0 functions | Uses 2 functions
© 2014 - 2023 LifterLMS · Privacy Policy · Terms and Conditions