wp_stateless_batch_task_started

wp_stateless_batch_task_started

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

do_action('wp_stateless_batch_task_started') is found 1 times:

  • /lib/classes/batch/class-batch-task-manager.php line 199
          $this->_update_state( $state );
    
          Helper::log('Batch task started: ' . $class);
    
          do_action('wp_stateless_batch_task_started', $class, $file);
        } catch (\Throwable $e) {
          Helper::log("Batch task $class failed to start: " . $e->getMessage());
    
          do_action('wp_stateless_batch_task_failed', $class, $file, $e->getMessage());
    
          return;
    

See this hook used in plugins: