I want all queries coming to the WooCommerce REST API [/v3/] such as [POST, PUT, UPDATE, eg.] to work just like WordPress' Cookie authentication.

In short,

  • [GET] requests are completely open. (No authentication required)!
  • [POST, PUT, UPDATE, eg.] requests are pass on the Cookie Authentication (if the user has the authority works).

I think of a scenario like above. But I could not configure the required settings. Can you help me with the adjustments I need to make in functions.php for this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.