apply_filters( 'llms_rest_webhook_hash_algorithm', string $algo , string $payload , int $id )
Customize the hash algorithm used to generate the webhook delivery signature.
Parameters Parameters
- $algo
-
(string) Hash algorithm. Defaults to 'sha256'. List of supported algorithms available at <a href="https://www.php.net/manual/en/function.hash-hmac-algos.php">https://www.php.net/manual/en/function.hash-hmac-algos.php</a>.
- $payload
-
(string) JSON-encoded body to be delivered.
- $id
-
(int) Webhook ID.
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-webhook-data.php
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |