[wp-hackers] Update post status

Jeff Rose mirepup at gmail.com
Thu Nov 19 21:41:36 UTC 2009


I'm a relative newbie developer and my latest plugin needs to
programatically change the status of a post and I'm wondering the proper
steps to doing this.

This would be going from a DRAFT status to either a FUTURE or PUBLISHED
status depending on the chosen option.

Any advice is appreciated.

http://www.jeffrose.ca/twitter


More information about the wp-hackers mailing list