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

Gets whether the lesson has quiz or not.


Description Description


Parameters Parameters

$course_id

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

Default value: null

$lessons

(Optional) An array of lesson WP_Post object.

Default value: null


Top ↑

Return Return

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


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.