llms_get_quiz_attempt_statuses()

Retrieve statuses for quiz attempts.


Return Return

(array)


Top ↑

Source Source

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

119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
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.