learndash_use_legacy_course_access_list()
Checks whether to use the legacy course access list.
Description #
Return #
(boolean) Returns true to use legacy course access list otherwise false.
Source #
Related #
Uses #
Uses | Description |
---|---|
includes/course/ld-course-functions.php: learndash_use_legacy_course_access_list |
Filters whether to use legacy course access list or not. |
includes/admin/class-learndash-admin-data-upgrades.php: learndash_data_upgrades_setting () |
Used By #
Used By | Description |
---|---|
includes/ld-users.php: learndash_user_get_enrolled_courses () |
Gets the list of all courses enrolled by the user. |
includes/ld-users.php: learndash_get_user_course_access_list () |
Gets the list of course IDs accessible by the user. |
includes/settings/settings-metaboxes/class-ld-settings-metabox-course-access-settings.php: LearnDash_Settings_Metabox_Course_Access_Settings::load_settings_fields () |
Initialize the metabox settings fields. |
includes/course/ld-course-functions.php: learndash_get_users_for_course () |
Gets the list of users who has access to the given course. |
includes/course/ld-course-functions.php: ld_update_course_access () |
Updates the list of courses a user can access. |
includes/course/ld-course-functions.php: sfwd_lms_has_access_fn () |
Checks whether a user has access to a course. |
includes/admin/classes-posts-edits/class-learndash-admin-course-edit.php: Learndash_Admin_Course_Edit::on_load () |
On Load handler function for this post type edit. |