I've got a problem. I don't want duplicate posts. Any way to check if a post already exists and if it does just set the new one to draft? I am using IFTTT to update my blog and sometimes it posts multiple times.

  • What is "IFTTT"? Sep 17, 2012 at 3:17
  • IFTTT is a social media helper site, "If This, Then That." It allows you to set up internet actions based on triggers.
    – Liana Mir
    Sep 17, 2012 at 8:53

1 Answer 1


I have no idea what IFTTT is but you can use the save_post action hook to do a check for duplicate posts. This hook runs whenever a post is created or updated you would then be able to right your own code to check against existing posts.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.