[resolved] publish_post And Posts Scheduled In The Future (3 posts)

  1. saphod
    Posted 7 years ago #

    I want to do a certain action when the post is published, but I don't want it to be done when I save it. This is very important considering posts that are scheduled in the future.

    So, the question is: save_post works whenever I hit "save" or "publish" right? That means: even if I schedule the post to be published in the future, the "save_post" action would be fired right away?

    If I used "publish_post", would that change it to only fire at the time the post "goes online"?

  2. saphod
    Posted 7 years ago #

    Did some research:

    Can I use future_to_publish to catch scheduled posts?

  3. saphod
    Posted 7 years ago #

    Works, see this post.

Topic Closed

This topic has been closed to new replies.

About this Topic