WordPress at a glance
function is not described

wc_deliver_webhook_async() WC 2.2.0

Wrapper function to execute the woocommerce_deliver_webhook_async cron. hook, see WC_Webhook::process().

No Hooks.

Return

null. Nothing.

Usage

wc_deliver_webhook_async( $webhook_id, $arg );
$webhook_id(int) (required)
Webhook ID to deliver.
$arg(mixed) (required)
Hook argument.

Changelog

Since 2.2.0 Introduced.

Code of wc_deliver_webhook_async() WC 5.3.0

<?php
function wc_deliver_webhook_async( $webhook_id, $arg ) {
	$webhook = new WC_Webhook( $webhook_id );
	$webhook->deliver( $arg );
}