WC_Webhook::set_secret( string $secret )

Set the secret used for generating the HMAC-SHA256 signature.


Description Description


Parameters Parameters

$secret

(Required) Secret.


Top ↑

Source Source

File: includes/class-wc-webhook.php

	public function set_secret( $secret ) {
		$this->set_prop( 'secret', $secret );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.