Browse: Home / Classes / Learndash_Admin_Essay_Edit /

Learndash_Admin_Essay_Edit::save_essay_grading_response

Learndash_Admin_Essay_Edit::save_essay_grading_response( int $essay_id,  WP_Post $essay,  boolean $update )

Saves the essay grading response to the post meta.


Description #

Fires on save_post_sfwd-essays metabox.


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
2.2.0 Introduced.