Automattic\WooCommerce\StoreApi

Authentication::get_cart_token_secret()protectedWC 1.0

Gets the secret for the cart token using wp_salt.

Method of the class: Authentication{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_cart_token_secret();

Authentication::get_cart_token_secret() code WC 9.3.3

protected function get_cart_token_secret() {
	return '@' . wp_salt();
}