llms_rest_deliver_webhook_async( int $webhook_id, array $args )
Wrapper function to execute async delivery of webhooks.
Description Description
Hooked to lifterlms_rest_deliver_webhook_async.
See also See also
Parameters Parameters
- $webhook_id
-
(int) (Required) Webhook id.
- $args
-
(array) (Required) Numeric array of arguments from the originating hook.
Return Return
(void)
Source Source
File: libraries/lifterlms-rest/includes/llms-rest-functions.php
function llms_rest_deliver_webhook_async( $webhook_id, $args ) {
$webhook = LLMS_REST_API()->webhooks()->get( $webhook_id );
if ( $webhook ) {
$webhook->deliver( $args );
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0-beta.2 | Fixed incorrect reference. |
| 1.0.0-beta.1 | Introduced. |