[wp-hackers] Data on scheduled publish?

Christopher Ross cross at thisismyurl.com
Tue Feb 15 18:57:34 UTC 2011


In my code example below:

function do_backup ($post_id, $post) {
	my_backup($post);
}

How would I get the $post to be populated during a scheduled post? It works fine in all other cased but when a scheduled post is turned into a published post, the code runs but does not populate the $post array.

Any ideas?


__

Christopher Ross

http://christopherross.ca
http://www.thisismyurl.com



More information about the wp-hackers mailing list