do_action( 'learndash-quiz-after', int $quiz_id, int $course_id, int $user_id )
Fires before the quiz content starts.
Description #
Parameters #
- $quiz_id
-
(int) Quiz ID.
- $course_id
-
(int) Course ID.
- $user_id
-
(int) User ID.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash-quiz-after action. */ add_action( 'learndash-quiz-after', function( $quiz_id, $course_id, $user_id ) { // May add any custom logic using $quiz_id, $course_id, $user_id }, 10, 3 );
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |