Browse: Home / Functions /


learndash_get_submitted_essay_data( int $quiz_id,  int $question_id,  WP_Post $essay )

Gets the essay data for this particular submission

Description #

Loop through all the quizzes and return the quiz that matches as soon as it’s found

Parameters #


(int) (Required) Quiz ID.


(int) (Required) Question ID.


(WP_Post) (Required) The WP_Post essay object.

Return #

(mixed) The submitted essay data.

Source #

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

Changelog #

Version Description
2.2.0 Introduced.