currenly i am using a cookie with encoded user id during login.
I want to get the current logged in without a cookie in woocomerce filter “woocommerce_rest_prepare_product_object” filter. NOT the rest api authenticated user.
These would normally be the same thing
I know it’s the same thing but thats not what i need.
I need THE LOGGED IN USER not the one using the api.
If you’re authenticating your application as one user, but a different user is ‘logged in’, then how are you achieving that?
may be you didn’t understand the me. I want to archieve extactly that, but apparantly i don’t know the wordpress core well enough.