Automattic\WooCommerce\StoreApi
Authentication::get_cart_token_secret()
Gets the secret for the cart token using wp_salt.
Метод класса: Authentication{}
Хуков нет.
Возвращает
Строку
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_cart_token_secret();
Код Authentication::get_cart_token_secret() Authentication::get cart token secret WC 9.7.1
protected function get_cart_token_secret() { return '@' . wp_salt(); }