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.


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-webhook-data.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.