learndash_is_previous_complete learndash_is_previous_complete( WP_Post $post ) Checks if the previous topic or lesson is complete. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $post (WP_Post) (Required) The WP_Post object of lesson or topic. Return # (int) Returns 1 if the previous lesson or topic is completed otherwise 0. Source # File: includes/course/ld-course-progress.php Changelog # Changelog Version Description 3.4.0 Introduced. Related # Namespace # global @package # LearnDash / Course Uses # Uses Uses Description includes/course/ld-course-progress.php: learndash_get_course_progress () Gets the user’s current course progress. Used By # Used By Used By Description includes/deprecated/3.4.0/functions.php: is_previous_complete () Checks if the previous topic or lesson is complete. includes/course/ld-course-progress.php: learndash_mark_complete () Outputs the HTML output to mark a course complete.
Uses # Uses Uses Description includes/course/ld-course-progress.php: learndash_get_course_progress () Gets the user’s current course progress.
Used By # Used By Used By Description includes/deprecated/3.4.0/functions.php: is_previous_complete () Checks if the previous topic or lesson is complete. includes/course/ld-course-progress.php: learndash_mark_complete () Outputs the HTML output to mark a course complete.