Open renatonascalves opened 2 months ago
Bulk task already has an after_batch function but it's not pluggable. The idea here is to allow an implementer to plug its own callback to be executed after each batch.
after_batch
https://github.com/alleyinteractive/wp-bulk-task/blob/main/src/class-bulk-task.php#L84-L124
Alley devs: The need for this feature came from this.
This is a similar request to #38
Description
Bulk task already has an
after_batch
function but it's not pluggable. The idea here is to allow an implementer to plug its own callback to be executed after each batch.https://github.com/alleyinteractive/wp-bulk-task/blob/main/src/class-bulk-task.php#L84-L124
Use Case
Alley devs: The need for this feature came from this.