wp_stateless_batch_task_item_processed

wp_stateless_batch_task_item_processed

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.0.3

apply_filters('wp_stateless_batch_task_item_processed') is found 1 times:

  • /lib/classes/batch/class-batch-task-manager.php line 214
     
          $result = $object->process_item($item);
          $this->_update_state( $object->get_state() );
    
          $result = apply_filters('wp_stateless_batch_task_item_processed', $result, $item);
        } catch (\Throwable $e) {
          Helper::log( "Batch task unable to handle item $item: " . $e->getMessage() );
    
          $result = apply_filters('wp_stateless_batch_task_item_failed', $result, $item);
        }