LLMS_View_Manager::should_display()
Determine whether or not the view manager should be added to the WP Admin Bar
Description Description
The view manager is only displayed when the following criteria is met:
- The current user must have a role that is allowed to bypass LifterLMS restrictions
- Must be viewing one of the following:
- a single course, lesson, membership, or quiz
- LifterLMS checkout page
- LifterLMS student dashboard page
Return Return
(boolean)
Source Source
File: includes/class.llms.view.manager.php
Changelog Changelog
Version | Description |
---|---|
4.5.1 | |
4.16.0 | Introduced. |