Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
4k views

wp_get_current_user always returns 0 continued

I have been busting my head trying to get the user ID with every piece of code possible but it always comes back "0". Not sure what I'm doing wrong. I started out using this: <?php $user_info = ...