Warning: This function has been deprecated. Use ‘learndash_is_previous_complete’ instead.

is_previous_complete( WP_Post $post )

Checks if the previous topic or lesson is complete.


Description Description


Parameters Parameters

$post

(Required) The WP_Post object of lesson or topic.


Top ↑

Return Return

(int) Returns 1 if the previous lesson or topic is completed otherwise 0.


Top ↑

Source Source

File: includes/deprecated/3.4.0/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Use 'learndash_is_previous_complete' instead.
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.