alleyinteractive / alleyinteractive/wp-bulk-task
Provide opt-out way to suspend side-effects
Open
enhancement
- Dominant language
- PHP
- Stars
- 21
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Developers need to opt into using the `Bulk_Task_Side_Effects` trait and its methods for suspending and resuming side-effects. I'd like a way to always suspend a side-effect when running a bulk task and allow developers to opt back into it.
### Use Case
I'd like to always suspend logging to the Simple History plugin when running a bulk task, and I don't want other developers on my team to have to remember to add that logic to their scripts.
Contributor guide
Assessment
This issue has not been assessed yet.