learndash_quiz_date_time_formats

apply_filters( 'learndash_quiz_date_time_formats',  array $date_time_formats )

Filters the quiz date and time formats.


Description #


Parameters #

$date_time_formats

(array) An array of quiz date and time formats.


Source #

File: includes/settings/settings-sections/class-ld-settings-section-quizzes-management-display.php


Examples #

 <?php
/**
 * Example usage for learndash_quiz_date_time_formats filter.
 */
add_filter(
	'learndash_quiz_date_time_formats',
	function( $date_time_formats ) {
		// May add any custom logic using $date_time_formats.

		// Always return $date_time_formats.
		return $date_time_formats;
	}
);