Browse: Home / Functions /

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 #

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


Source #

File: themes/ld30/includes/helpers.php


Changelog #

Changelog
Version Description
3.0.0 Introduced.