learndash_quiz_question_cloze_answers_to_lowercase

apply_filters( 'learndash_quiz_question_cloze_answers_to_lowercase',  boolean $conver_to_lower )

Filters whether to convert quiz question cloze to lowercase or not.


Description #


Parameters #

$conver_to_lower

(boolean) Whether to convert quiz question cloze to lower case.


Source #

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


Examples #

 <?php
/**
 * Example usage for learndash_quiz_question_cloze_answers_to_lowercase filter.
 */
add_filter(
	'learndash_quiz_question_cloze_answers_to_lowercase',
	function( $convert_answer_to_lower = true ) {

		$convert_answer_to_lower = false;

		// Always return $convert_answer_to_lower
		return $convert_answer_to_lower;
	}
);