Get current user id
-
Hello, the plugin is just what I was looking for, except…
I’m including the shortcode on each user page under a custom tab, ‘Posts.’
I want only the posts of the current user to be displayed through this shortcode. I’ve tried user id=get_current_user_id() but that doesn’t seem to work. Any suggestions?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get current user id’ is closed to new replies.