en

wpseek.com
A WordPress-centric search engine for devs and theme authors


  |     Browse all


wp_update_post [ WordPress Function ]

wp_update_post ( $postarr = array() )
Parameters:
  • array|object $postarr Post data. Arrays are expected to be escaped, objects are not.
Returns:
  • int 0 on failure, Post ID on success.
Defined at:



Update a post with new post data.

The date does not have to be set for drafts. You can set the date and it will not be overridden.

Examples [ wp-snippets.com ]

Top Google Search Results

More ...

0 User Note(s)

None yet. Be the first!

Add New ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics