is_user_logged_in() sometimes not working
-
I used this function in the woocommerce page, my-account/store page.
But at the my-account page it works fine, while return false in the store page.
Now I’m temporally using get_current_user_id() instead, but I think it’s may not be the right way.Any suggestion ?
Wordpress v.5.2.3 (with v5.3 is this fixed ?)
Thank you in advance.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘is_user_logged_in() sometimes not working’ is closed to new replies.