rest api – get the current logged in user using WooCommerce API in React App
Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
I embeded React page in my WooCommerce site using ReactPress plugin, and I was able to fetch users list in React app by using the WooCommerce API. Now in my embeded React App I want to check if the current logged in user has subscription or not . How can I fetch the current user in the React app?
Leave an answer