Skip to:
Content
Pages
Categories
Search
Top
Bottom

url of dynamic username for a custom tab

  • @mohammedarif

    Participant

    Hello,
    I build a custom tab which url “http://example.com/members/{dynamic_user_slug}/customtab” in BuddyPress profile page. I want when user click a menu then he goes to his custom tab that is “{dynamic_user_slug}/customtab”.
    So how can I get this dynamic_user_slug in the url?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @mohammedarif

    Participant

    Hello,
    Is there any plugins or function that can make {dynamic_user_slug} in the url??

    @shanebp

    Moderator

    If you need to hardcode a link for the logged-in user, then use me
    http://example.com/members/me/customtab

    In php, you can use bp_loggedin_user_domain()

    bp_loggedin_user_domain

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