learndash_is_topic_notcomplete_legacy( int|null $user_id = null, array $topics = array(), int $course_id )

LEGACY: Checks if a topic is not complete.


Description Description

Replaced by learndash_is_topic_notcomplete in 3.4.0.


Parameters Parameters

$user_id

(Optional) User ID. Defaults to the current logged-in user.

Default value: null

$topics

(Optional) An array of topic IDs.

Default value: array()

$course_id

(Optional) Course ID.


Top ↑

Return Return

(boolean) Returns true if the topic is not completed otherwise false.


Top ↑

Source Source

File: includes/course/ld-course-functions-legacy.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Added $course_id parameter
2.3.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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