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 #

Parameters #


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

Default value: null


(array) (Optional) An array of topic IDs.

Default value: array()


(int) (Optional) Course ID. @since 3.20

Return #

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

Source #

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

Changelog #

Version Description
2.1.0 Introduced.