learndash_30_has_topics( int|null $course_id = null, array|null $lessons = null )
Gets whether a lesson has topics or not.
Description Description
Parameters Parameters
- $course_id
-
(Optional) Course ID.
Default value: null
- $lessons
-
(Optional) An array of lesson objects.
Default value: null
Return Return
(boolean) True if the lesson has topics otherwise false.
Source Source
File: themes/ld30/includes/helpers.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |