RestApi::store_api_logged_in_cookie( string $logged_in_cookie )
When the login cookies are set, they are not available until the next page reload. For the Store API, specifically for returning updated nonces, we need this to be available immediately.
Description Description
Parameters Parameters
- $logged_in_cookie
-
(Required) The value for the logged in cookie.
Source Source
File: packages/woocommerce-blocks/src/RestApi.php