WC_Webhook::set_secret( string $secret )
Set the secret used for generating the HMAC-SHA256 signature.
Description Description
Parameters Parameters
- $secret
-
(Required) Secret.
Source Source
File: includes/class-wc-webhook.php
public function set_secret( $secret ) {
$this->set_prop( 'secret', $secret );
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |