do_action( 'learndash_essay_response_data_updated', int $quiz_id, int $question_id, WP_Post $essay, array $submitted_essay )
Fires after the essay response data is updated.
Description #
Parameters #
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_essay_response_data_updated action.
*/
add_action(
'learndash_essay_response_data_updated',
function( $quiz_id, $question_id, $essay, $submitted_essay ) {
// May add any custom logic using $quiz_id, $question_id, $essay, $submitted_essay
},
10,
4
);