Fires before an autosave is stored.
Parameters
$new_autosave
array- Post array – the autosave that is about to be saved.
$is_update
bool- Whether this is an existing autosave.
Source
do_action( 'wp_creating_autosave', $new_autosave, true );
CARVIEW |
Fires before an autosave is stored.
$new_autosave
array$is_update
booldo_action( 'wp_creating_autosave', $new_autosave, true );
Used by | Description |
---|---|
WP_REST_Autosaves_Controller::create_post_autosave()wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php | Creates autosave for the specified post. |
wp_create_post_autosave()wp-admin/includes/post.php | Creates autosave data for the specified post from |
User Contributed Notes
You must log in before being able to contribute a note or feedback.