alleyinteractive / alleyinteractive/wp-bulk-task

Provide opt-out way to suspend side-effects

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.