Browse: Home / Functions /


learndash_update_submitted_essay_data( int $quiz_id,  int $question_id,  WP_Post $essay,  array $submitted_essay )

Updates the user’s submitted essay data.

Description #

Finds the essay in this particular quiz attempt in the user’s meta and updates its data.

Parameters #


(int) (Required) Quiz ID.


(int) (Required) Question ID.


(WP_Post) (Required) The WP_Post essay object.


(array) (Required) Submitted essay data.

Source #

File: includes/quiz/ld-quiz-essays.php

Changelog #

Version Description
2.2.0 Introduced.