Browse: Home / Functions /


learndash_question_cloze_fetch_data( string $answer_text,  boolean $convert_to_lower = true )

Formats the quiz cloze type answers into an array to be used when comparing responses.

Description #

The function is copied from WpProQuiz_View_FrontQuiz class.

Parameters #


(string) (Required) Answer text.


(boolean) (Optional) Whether to convert anwser to lowercase.

Default value: true

Return #

(array) An array of cloze question data.

Source #

File: includes/lib/wp-pro-quiz/wp-pro-quiz.php

Changelog #

Version Description
2.5.0 Introduced.