Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: No $user_id on profile page?

@_ck_

Participant

The user_id of the user on the profile page might be in $user->ID

try global $user; $user_id=$user->ID;

($user is only available on the profile page)

Skip to toolbar