learndash_30_has_lesson_quizzes

learndash_30_has_lesson_quizzes( int|null $course_id = null,  int|null $lessons = null )

Gets whether the lesson has quiz or not.


Description #


Parameters #

$course_id

(int|null) (Optional) Course ID. Defauls to current post ID in WordPress loop.

Default value: null

$lessons

(int|null) (Optional) An array of lesson WP_Post object.

Default value: null


Return #

(boolean) Returns whether a lesson has quiz or not.


Source #

File: themes/ld30/includes/helpers.php