From 69562c04d9b101f68109ef429ceeedaf04e13643 Mon Sep 17 00:00:00 2001 From: Darko Gjorgjijoski Date: Sun, 30 Jun 2019 21:59:44 +0000 Subject: [PATCH] Updated delay hook name --- includes/class-batch-processor-admin.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/class-batch-processor-admin.php b/includes/class-batch-processor-admin.php index c9357cb..ec4f653 100644 --- a/includes/class-batch-processor-admin.php +++ b/includes/class-batch-processor-admin.php @@ -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' ),