WordPress at a glance
function is not described

wc_webhook_process_delivery() WC 3.3.0

Process webhook delivery.

No Hooks.

Return

null. Nothing.

Usage

wc_webhook_process_delivery( $webhook, $arg );
$webhook(WC_Webhook) (required)
Webhook instance.
$arg(array) (required)
Delivery arguments.

Changelog

Since 3.3.0 Introduced.

Code of wc_webhook_process_delivery() WC 5.3.0

<?php
function wc_webhook_process_delivery( $webhook, $arg ) {
	// We need to queue the webhook so that it can be ran after the request has finished processing.
	global $wc_queued_webhooks;
	if ( ! isset( $wc_queued_webhooks ) ) {
		$wc_queued_webhooks = array();
	}
	$wc_queued_webhooks[] = array(
		'webhook' => $webhook,
		'arg'     => $arg,
	);
}