Browse: Home / Functions /


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

Gets whether the lesson has quiz or not.

Description #

Parameters #


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

Default value: null


(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

Changelog #

Version Description
3.0.0 Introduced.