Skip to:
Content
Pages
Categories
Search
Top
Bottom

Get ID of user of current profile page


  • Number_6
    Participant

    @number_6

    Hello,
    I’m looking to create widgets specifically for profile pages. For that I need a way to get the ID/display name of the current profile being viewed.
    In plain English: User 1 views their own profile and sees data in widgets relative to their own profile.
    User 2 views User 1’s profile and sees data in widgets relative to User 1’s profile.
    Example: Custom post types they’ve authored or data from their custom profile fields.

    For that I need to fetch the ID/Display Name of the currently viewed profile page.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar