Skip to content

Commit

Permalink
Updated delay hook name
Browse files Browse the repository at this point in the history
  • Loading branch information
gdarko committed Jun 30, 2019
1 parent 506357e commit 69562c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/class-batch-processor-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ public function enqueue_scripts() {
'ajax_url' => admin_url( 'admin-ajax.php' ),
'nonce' => wp_create_nonce( 'wp-batch-processing' ),
'batch_id' => isset( $_GET['id'] ) ? $_GET['id'] : 0,
'delay' => apply_filters( 'dg_batch_runner_delay', 0 ),
// Set delay in seconds before processing the next item.
'delay' => apply_filters( 'wp_batch_processing_delay', 0 ), // Set delay in seconds before processing the next item. Default 0. No delay.
'text' => array(
'processing' => __( 'Processing...', 'wp-batch-processing' ),
'start' => __( 'Start', 'wp-batch-processing' ),
Expand Down

0 comments on commit 69562c0

Please sign in to comment.