learndash_save_essay_status_metabox_data

learndash_save_essay_status_metabox_data( int $essay_id,  WP_Post $essay,  boolean $update )

Updates the user’s essay and quiz data on post save.


Description #

Fires on save_post_sfwd-essays hook.


Parameters #

$essay_id

(int) (Required) ID of the essay to be saved.

$essay

(WP_Post) (Required) The WP_Post essay object.

$update

(boolean) (Required) Whether this is an existing post being updated or not.


Source #

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


Changelog #

Changelog
Version Description
2.2.0 Introduced.