Browse: Home / Functions /

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|null) The WP_Post object of lesson/topic to be completed.


Source #

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


Changelog #

Changelog
Version Description
2.3.0 Introduced.