LLMS_REST_Webhook
LLMS_REST_Webhook class
Description Description
Source Source
File: libraries/lifterlms-rest/includes/models/class-llms-rest-webhook.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.11 | When validating a resource: - Skipped autosaves and revisions. - Implemented a new way to consider a resource as just created. Thanks WooCoommerce. |
1.0.0-beta.1 | Introduced. |
Methods Methods
- deliver — Delivers the webhook
- delivery_after — Fires after delivery
- enqueue — Add actions for all the webhooks hooks
- is_already_processed — Checks if the specified resource has already been queued for delivery within the current request
- is_valid_action — Determine if the current action is valid for the webhook
- is_valid_post_action — Determine if the current post-related action is valid for the webhook
- is_valid_resource — Determine if the the resource is valid for the webhook
- is_valid_user_action — Determine if the current user-related action is valid for the webhook
- ping — Perform a test ping to the delivery url
- process_hook — Processes information from the origination action hook
- schedule — Schedule the webhook for async delivery
- should_deliver — Determines if an originating action qualifies for webhook delivery