-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --all
flag to cron event delete
#98
Add --all
flag to cron event delete
#98
Conversation
…-command into add-all-flag-to-delete
I took another look at the out of sync files and corrected them. @schlessera can you confirm your review conflicts are now resolved? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your work on this, @Mike-Hermans !
Changes have been addressed
This is a redo of #81
Fixes #39 by making the command more consistent with the
wp cron event run
command.It is now possible to delete multiple cron events at once by either:
Since the selection process of the
run
anddelete
command is now the same, a separate function has been added to filter the required hooks (::get_selected_cron_events()
).This function now also includes support for the
--exclude
parameter added in #97.