apply_filters( 'sensei_rest_api_lesson_quiz_response', $quiz_data, $quiz ) → {array}
Filters the response of lesson-quiz requests.
Parameters:
Name | Type | Description |
---|---|---|
$quiz_data |
array | The response data. |
$quiz |
WP_Post | The quiz post.default interval. |
Returns:
$quiz_data The modified response data.
- Type
- array