Displayed user id

This topic contains 8 replies, has 3 voices, and was last updated by  Patrik 5 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #2607

    ankit katmore
    Free User
    Post count: 5

    Hello Team,

    How to get displayed user id and profile id of users. Please let me know.

    #2608

    ankit katmore
    Free User
    Post count: 5

    Please let me know function name so i will use that.

    #2612

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I have flagged your question for the developers who will reply here as soon as possible.

    #2615

    Patrik
    Moderator
    Post count: 1971

    Hi Ankit

    You will get user id in all hooks and filters used in the profile page. There is no specific function for that. You can check the $wp_query global variable to get the username or id in the profile page from which you can get all user data.

    Let me know what exactly you want to do so that we can provide you the solution for that.

    Regards,
    Patrik

    #2620

    ankit katmore
    Free User
    Post count: 5

    I need a displayed user id of user. Let say we have two user “test1” and “test2” so whe i go to their profiles, i want their user ids from a function. Does that make sense. Just like in ultimate member plugin.

    #2622

    ankit katmore
    Free User
    Post count: 5

    Also can let me know how can i make dynamic URL for custom tabs. for example
    https://site.com/user/my_courses/ but that’s not working for me. Please let me know. I have to add the URLs to menu items.

    Thanks

    #2634

    Patrik
    Moderator
    Post count: 1971

    Hi Ankit,

    Can you post your admin details and FTP details in a private reply here so that we can look into it and provide you the solution? Also, mention in details what you want to do with an example here. In profile page, you will get user id in all the hooks and filters you can use. There is no specific function for that. We don’t have profile id anywhere, we are using user id only.

    Regards,
    Patrik

    #2685

    ankit katmore
    Free User
    Post count: 5

    Hello Team
    Have email sending issue from registration page .Check screenshot here ttps://drive.google.com/file/d/1eEvg8UPyXm3knhI6N3IyXNoF3cEhMkCk/view?usp=drivesdk

    Registration page : https://www.crankitfitness.com/register/

    Please let me know ASAP.

    Thanks

    #2686

    Patrik
    Moderator
    Post count: 1971

    Hi Ankit,

    Have you first checked that emails are sent successfully from your site or not?

    Please provide us the admin and FTP details in private reply to look more into this.

    Regards,
    Patrik

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket