src/Core/Utilities/Cast.php:
Cast::to_int ()
|
Casts a value to a int if possible or returns an empty string.
|
includes/classes/class-ldlms-model-user-course-progress.php:
learndash_user_progression_get_incomplete_child_steps ()
|
Utility function to return incomplete course step within a parent step.
|
includes/ld-users.php:
learndash_process_user_course_progress_update ()
|
Process user course progress changes.
|
includes/course/ld-activity-functions.php:
learndash_activity_update_meta_set ()
|
Update activity meta set.
|
includes/course/ld-activity-functions.php:
learndash_activity_start_lesson ()
|
Set the lesson activity started record.
|
includes/course/ld-activity-functions.php:
learndash_activity_complete_topic ()
|
Set the topic activity completed record.
|
includes/course/ld-activity-functions.php:
learndash_activity_complete_lesson ()
|
Set the lesson activity completed record.
|
includes/course/ld-activity-functions.php:
learndash_activity_course_get_earliest_started ()
|
Get the earliest course activity record for the user.
|
includes/course/ld-activity-functions.php:
learndash_activity_start_course ()
|
Set the course activity started record.
|
includes/course/ld-course-functions.php:
learndash_is_course_builder_enabled ()
|
Utility function to check if Course Builder is enabled.
|
includes/course/ld-course-functions-legacy.php:
learndash_process_mark_complete_legacy ()
|
LEGACY: Updates the user meta with completion status for any resource.
|
includes/classes/class-ldlms-factory-user.php:
LDLMS_Factory_User::quiz_progress ()
|
Get a User Course Progress Instance.
|
includes/classes/class-ldlms-model-user-course-progress.php:
learndash_user_get_course_progress ()
|
Utility function to get a user’s progress for a single course.
|
includes/classes/class-ldlms-model-user-course-progress.php:
learndash_user_set_course_progress ()
|
Utility function to update a user’s course progress instance.
|
includes/course/ld-course-progress.php:
learndash_can_complete_step ()
|
Check if the user can complete the current step.
|
includes/course/ld-course-video.php:
learndash_video_complete_for_step ()
|
Returns true if the video is complete for the step, otherwise false.
|
includes/course/ld-course-functions.php:
learndash_can_user_bypass ()
|
Check if user can bypass action ($context).
|
includes/settings/settings-functions.php:
learndash_get_setting ()
|
Gets the LearnDash setting for a post.
|
includes/class-ldlms-post-types.php:
learndash_get_post_types ()
|
|
includes/class-ldlms-post-types.php:
LDLMS_Post_Types::get_post_type_slug ()
|
Utility function to return the post type slug(s). This is to prevent hard-coding of the slug(s) throughout the code files.
|
includes/course/ld-activity-functions.php:
learndash_get_user_activity ()
|
Gets the user activity.
|
includes/course/ld-activity-functions.php:
learndash_update_user_activity ()
|
Updates the user activity.
|
includes/course/ld-course-functions.php:
learndash_get_course_id ()
|
Gets the course ID for a resource.
|
includes/course/ld-course-progress.php:
learndash_process_mark_complete ()
|
Updates the user meta with completion status for any resource.
|
includes/course/ld-course-progress.php:
learndash_process_mark_complete
|
Filters whether to mark a process complete.
|
includes/course/ld-course-progress.php:
learndash_before_course_completed
|
Fires before the course is marked completed.
|
includes/course/ld-course-progress.php:
learndash_lesson_completed
|
Fires after the lesson is marked completed.
|
includes/course/ld-course-progress.php:
learndash_topic_completed
|
Fires after the topic is marked completed.
|
includes/course/ld-course-progress.php:
learndash_course_completed
|
Fires after the course is marked completed.
|