woocommerce_webhook_delivery
Usage
add_action( 'woocommerce_webhook_delivery', 'wp_kama_woocommerce_webhook_delivery_action', 10, 5 ); /** * Function for `woocommerce_webhook_delivery` action-hook. * * @param $http_args * @param $response * @param $duration * @param $arg * @param $id * * @return void */ function wp_kama_woocommerce_webhook_delivery_action( $http_args, $response, $duration, $arg, $id ){ // action... }
- $http_args
- -
- $response
- -
- $duration
- -
- $arg
- -
- $id
- -
Where the hook is called
woocommerce_webhook_delivery
woocommerce/includes/class-wc-webhook.php 361
do_action( 'woocommerce_webhook_delivery', $http_args, $response, $duration, $arg, $this->get_id() );