wp_create_post_autosave


wp_create_post_autosave ( $post_data )

Parameters:
  • (mixed) $post_data Associative array containing the post data or int post ID.
Returns:
  • (mixed) The autosave revision ID. WP_Error or 0 on error.
Defined at:

Description

Creates autosave data for the specified post from $_POST data.

Related Functions

wp_get_post_autosave, wp_is_post_autosave, wp_get_post_cats, wp_set_post_cats, wp_create_user

Top Google Results

User discussions

wpseek mobile