woocommerce_webhook_process_delivery action-hookWC 3.3.0

Process webhook delivery.

Usage

add_action( 'woocommerce_webhook_process_delivery', 'wp_kama_woocommerce_webhook_process_delivery_action', 10, 2 );

/**
 * Function for `woocommerce_webhook_process_delivery` action-hook.
 * 
 * @param  $that 
 * @param  $arg  
 *
 * @return void
 */
function wp_kama_woocommerce_webhook_process_delivery_action( $that, $arg ){

	// action...
}
$that
-
$arg
-

Changelog

Since 3.3.0 Introduced.

Where the hook is called

WC_Webhook::process()
woocommerce_webhook_process_delivery
woocommerce/includes/class-wc-webhook.php 129
do_action( 'woocommerce_webhook_process_delivery', $this, $arg );

Where the hook is used in WooCommerce

woocommerce/includes/wc-webhook-functions.php 65
add_action( 'woocommerce_webhook_process_delivery', 'wc_webhook_process_delivery', 10, 2 );