setcookie
Member
Posted 5 months ago #
uff i cant find a proper hook when a post is published just after the data is stored into database and the redirection takes place. is there a post post hook? save_post is useless because it does not refelect the current changes in phps post array.
any suggestions?
setcookie
Member
Posted 5 months ago #
its also fired before the database action so the $post object does not reflect the $_POST parameters ... i found a workaround. but maybe there is still another way
Hmmm...
wp_insert_post ??
From Codex:
" wp_insert_post
Same as save_post, runs immediately afterwards. "