I'm not really sure if the problem is on my end or not, but should the publish_post action hook work the same with a scheduled post as it does with a post that is published immediately?
I'm not really sure if the problem is on my end or not, but should the publish_post action hook work the same with a scheduled post as it does with a post that is published immediately?
From my experience, pusblish_post fires on a scheduled post when the schedule passes, not when you hit the publish button.
I also had issue with my plugin Twitter Goodies.
I figure out that issue by putting 2 different conditions. Please check out here: http://arpitshah.com/publish_post-how-to-check-if-wp-post-is-newly-published-or-edited/
I hope it will help you.
This topic has been closed to new replies.