wp_write_post


wp_write_post ( No parameters )

Returns:
  • (int|WP_Error) Post ID on success, WP_Error on failure.
Defined at:

Description

Creates a new post from the "Write Post" form using `$_POST` information.

Related Functions

write_post, wp_remote_post, wp_delete_post, wp_insert_post, wp_update_post

Top Google Results

User discussions

wpseek mobile