johnbillion / wp-crontrol

Take control of the cron events on your WordPress website
https://wp-crontrol.com
GNU General Public License v2.0
210 stars 36 forks source link

Allow all events with duplicate hooks to be deleted #102

Closed johnbillion closed 1 year ago

johnbillion commented 1 year ago

Ref: https://wordpress.org/support/topic/how-to-delete-duplicate-cron-jobs-with-the-same-name/

WP Crontrol allows you to delete all events with a given hook, but not if the hook is a persistent WordPress core one. Although I've never seen WordPress core events duplicated like this, it makes sense to allow them to be cleared out in this manner.

The "Delete all events with this hook" action should be present for any event where there's more than one event scheduled with that hook.