Browse: Home / Classes / Learndash_Admin_Essay_Edit /

Learndash_Admin_Essay_Edit::save_essay_status_metabox_data

Learndash_Admin_Essay_Edit::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/admin/classes-posts-edits/class-learndash-admin-essay-edit.php


Changelog #

Changelog
Version Description
3.2.3 Introduced.