llms_get_quiz_attempt_statuses()

Retrieve statuses for quiz attempts.


Return Return

(array)


Top ↑

Source Source

File: includes/functions/llms.functions.quiz.php

function llms_get_quiz_attempt_statuses() {
	/**
	 * Filters the quiz attempt statuses
	 *
	 * @since 3.16.0
	 *
	 * @param array $quiz_attempt_statuses Statuses for quiz attempts.
	 */
	return apply_filters(
		'llms_get_quiz_attempt_statuses',
		array(
			'incomplete' => __( 'Incomplete', 'lifterlms' ),
			'pending'    => __( 'Pending Review', 'lifterlms' ),
			'fail'       => __( 'Fail', 'lifterlms' ),
			'pass'       => __( 'Pass', 'lifterlms' ),
		)
	);
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.