LLMS_View_Manager
LLMS_View_Manager class.
Description Description
Source Source
File: includes/class.llms.view.manager.php
Changelog Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |
Methods Methods
- __construct — Constructor
- add_actions — Add actions & filters.
- add_menu_items — Add view links to the admin menu bar for qualifying users.
- enable_open_reg — Forces open registration on when previewing the registration form
- get_inline_script — Inline JS.
- get_menu_items_to_add — Retrieve an array of nodes to be added to the admin bar
- get_url — Get a view url for the requested view.
- get_view — Get the current view role/type.
- get_views — Get a list of available views.
- modify_completion — Modify the completion status of course, lessons, tracks based on current view.
- modify_course_open — Modify the status of a course access period based on the current view.
- modify_dashboard — Modify the student dashboard
- modify_display_free_enroll_form — Modify the displaying of the free enroll form (free access plans).
- modify_enrollment_status — Modify the enrollment status of current user based on the view.
- modify_restrictions — Modify llms_page_restricted for qualifying users to allow them to bypass restrictions.
- open_reg_notice — Output a notice alerting users that open registration is currently disabled
- scripts — Enqueue Scripts.
- should_display — Determine whether or not the view manager should be added to the WP Admin Bar
- test_get_views — Test get_views() method