Browse: Home / Functions /


learndash_get_open_quizzes( boolean $bypass_transient = false )

Gets all the open quizzes.

Description #

This function will query and return all open Quizzes. An OPEN Quiz is:

  1. Not associated with a Course.
  2. The Quiz setting "Only registered users are allowed to start the quiz" is NOT set.

Parameters #


(boolean) (Optional) Whether to bypass the transient cache.

Default value: false

Return #

(array) An array of Quiz IDs.

Source #

File: includes/quiz/ld-quiz-pro.php

Changelog #

Version Description
2.6.0 Introduced.