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


Top ↑

Parameters Parameters

$webhook_id

(int) (Required) Webhook id.

$args

(array) (Required) Numeric array of arguments from the originating hook.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/llms-rest-functions.php

39
40
41
42
43
44
45
46
function llms_rest_deliver_webhook_async( $webhook_id, $args ) {
 
    $webhook = LLMS_REST_API()->webhooks()->get( $webhook_id );
    if ( $webhook ) {
        $webhook->deliver( $args );
    }
 
}


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.2 Fixed incorrect reference.
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.