[wp-hackers] Update post status

Jeff Rose mirepup at gmail.com
Mon Nov 23 05:04:15 UTC 2009


Thanks Russ Gilbert for the reply regarding the wp_update_post function but
it isn't exactly what I was after, although that is the correct way to
update the post's information.

What I'm looking to do is trigger the correct function when the STATUS
changes. Like I said - when I update the post from DRAFT to FUTURE, is there
something more to do than set the status to FUTURE, and make sure the date
is in the future?

-- 
Jeff Rose
------------------
http://www.twitter.com/JeffRose
http://www.linkedin.com/in/JeffeRose
http://www.installedforyou.com


More information about the wp-hackers mailing list