learndash_30_has_topics

learndash_30_has_topics( int|null $course_id = null,  array|null $lessons = null )

Gets whether a lesson has topics or not.


Description #


Parameters #

$course_id

(int|null) (Optional) Course ID.

Default value: null

$lessons

(array|null) (Optional) An array of lesson objects.

Default value: null


Return #

(boolean) True if the lesson has topics otherwise false.


Source #

File: themes/ld30/includes/helpers.php