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.


Top ↑

Source Source

File: packages/woocommerce-blocks/src/RestApi.php


			


Top ↑

User Contributed Notes User Contributed Notes

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