alleyinteractive / alleyinteractive/wp-bulk-task

Provide opt-out way to suspend side-effects

Aperta
#40 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
PHP
Stelle
21
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.