i have following problem. i need fire specific actions whenever a post is published ord edited. therefore i use edit_post and publish_post. my problem is, that whenever i edit a published post, the publish_post action is fired too, which is because ‘publish post’ runs when a post is published, or if it is edited and its status is “published”. but i need an action which is only to run, when the post is published not edited and status published.
anyone ever had this problem? thx in advance
- The topic ‘problem with edit_post and publish_post hooks’ is closed to new replies.