Forums

Interrupt wordpress post when check duplication (1 post)

  1. sam4ever
    Member
    Posted 7 months ago #

    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?

Reply

You must log in to post.

About this Topic

Tags