• Hi,
    Is it possible to check for duplicate posts while publishing a new post and if the same post exists, then wordpress won’t write the post into the database? how can this be achieved?

Viewing 1 replies (of 1 total)
  • Thread Starter bekar09

    (@bekar09)

    is it possible to use ‘get_the_title()’ to fetch the title and then match with the title that I’m posting now and then if it exists, then call ‘wp_update_post()’ function else call ‘wp_insert_post()’.

    any ideas?

Viewing 1 replies (of 1 total)
  • The topic ‘No duplicate posts?’ is closed to new replies.