Skip to content

rrasco09/remove-duplicate-posts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

remove-duplicate-posts

This is a simple plugin for WordPress that removes duplicate posts hourly utilizing wp_cron.

usage scenarios

Under ideal circumstances you should not have duplicate post entries but sometimes it happens. The FeedWordPress Plugin (https://wordpress.org/plugins/feedwordpress/) is notorious for duplicating posts and none of the current "duplicate post remover" plugins actually worked so I decided to write this small plugin to accomplish just that.

usage

Install plugin and it will automatically configure wp_cron to run the remove_duplicate_posts_event() hourly.

notes

wp_cron is not a true cron job, it requires a page visit to run. Visit the WP codex for details on how it works (https://codex.wordpress.org/Function_Reference/wp_cron).

A useful plugin for verifying the wp_cron schedule has been correctly set is the Cron View/Cron GUI plugin (https://wordpress.org/plugins/cron-view/).

About

This is a simple plugin for WordPress that removes duplicate posts hourly utilizing wp_cron.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages