alleyinteractive / alleyinteractive/wp-bulk-task

Provide opt-out way to suspend side-effects

Offen
#40 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
PHP
Sterne
21
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.