wc_deliver_webhook_async( int $webhook_id, mixed $arg )
Wrapper function to execute the woocommerce_deliver_webhook_async
cron.
Description Description
hook, see WC_Webhook::process().
Parameters Parameters
- $webhook_id
-
(Required) Webhook ID to deliver.
- $arg
-
(Required) Hook argument.
Source Source
File: includes/wc-webhook-functions.php
function wc_deliver_webhook_async( $webhook_id, $arg ) { $webhook = new WC_Webhook( $webhook_id ); $webhook->deliver( $arg ); }
Changelog Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |