WordPress.org

Ready to get started?Download WordPress

Forums

Another action hook that is like "publish_post"? (1 post)

  1. bassettprovidentia
    Member
    Posted 2 years ago #

    I have a plugin that uses the "public_post" action hook to post Tweets when a post is published.

    Unfortunately, it also sends a tweet each time the post is edited. Is there another action hook that only runs when a *new* post is added?

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by bassettprovidentia
  • This topic is not resolved
  • WordPress version: 3.0.4

Tags

No tags yet.