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


Top ↑

Return Return

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


Top ↑

Source Source

File: themes/ld30/includes/helpers.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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