apply_filters( 'llms_rest_webhook_repeat_delay', int $delay, array $args, LLMS_REST_Webhook $this )

Determines the time period required to wait between delivery of the webhook


Description Description

If the webhook has already been scheduled within this time period it will not be sent again until the period expires. For example, the default time period is 300 seconds (5 minutes). If the webhook is triggered at 12:00pm it will be scheduled. If it is triggered again at 12:03pm the second occurrence will not be scheduled. If it is triggerd again at 12:06pm this third occurrence will again be scheduled.


Top ↑

Parameters Parameters

$delay

(int) Time (in seconds).

$args

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

$this

(LLMS_REST_Webhook) Webhook object.


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
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.