Interrupt wordpress post when check duplication
-
With a multi-people managed blog,I have to check is there a same [topic] post has posted. [topic] is a key saved as a post meta in database. Question is:(the question based on admin post, front-end post i can check before insert)
1,Which hook should I use,before insert happen(now I use save_post just after insert happen)
2,In the hook I can detect the duplicate post,can I just interrupt the post action and just throw up a notification?
3,If I can’t interrupt the post action,can I show some alert message to the poster?
- The topic ‘Interrupt wordpress post when check duplication’ is closed to new replies.