learndash_get_previous

learndash_get_previous( WP_Post $post )

Returns the previous lesson/topic to be completed.


Description #


Parameters #

$post

(WP_Post) (Required) The WP_Post object.


Return #

(WP_Post) The WP_Post object of lesson/topic to be completed.


Source #

File: includes/course/ld-course-progress.php


Changelog #

Changelog
Version Description
2.2.1.1 Introduced.