LLMS_REST_Webhook::delivery_after( string $delivery_id, array $req_args, array $res, float $duration )

Fires after delivery


Description Description

Logs data when loggind enabled and updates state data.


Parameters Parameters

$delivery_id

(Required) Webhook delivery id (for logging).

$req_args

(Required) HTTP Request Arguments used to deliver the webhook.

$res

(Required) Results from wp_safe_remote_request().

$duration

(Required) Time (in microseconds) it took to generate and deliver the webhook.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/models/class-llms-rest-webhook.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.17 Stop setting the webhook's property pending_delivery to 0. We now rely on the method is_already_processed() to determine whether the webhook delivering should be avoided.
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.