wc_batch_processing_log_message

wc_batch_processing_log_message

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('wc_batch_processing_log_message') is found 1 times:

  • /src/Internal/BatchProcessing/BatchProcessingController.php line 474
    		 * @return string The actual error message that will be logged.
    		 *
    		 * @since 6.8.0
    		 */
    		$error_message = apply_filters( 'wc_batch_processing_log_message', $error_message, $error, $batch_processor, $batch, $error_context );
    
    		$this->logger->error( $error_message, $error_context );
    	}
    
    	/**
    	 * Determines whether a given processor is consistently failing based on how many recent consecutive failures it has had.