Tag Info

New answers tagged


I tend to make use of the transition_post_status hook as it gives you so much control over what you need to do. Be sure to check out the link for all available status options. What I specially like that the $post object is also passed to the hook, so you can target a specific post type as well for one. You can try something like the following: (Just be sure ...


I've answered my question... when your not giving the id of the post meta ... it's creating another one ... you give the id and it's updating... –

Top 50 recent answers are included