Skip to:
Content
Pages
Categories
Search
Top
Bottom

href instead of wp-admin/profile.php with members/ACTUAL_USER/profile/public

  • Avatar of Nino
    Nino
    Participant

    @nino_py

    Hello,

    I hope someone can help :-)

    I have

    $items .= '<li><a href="wp-admin/profile.php" title="Go to your account Profile">Welcome, '.$current_user->display_name.'!</a></li>';
    

    but I want to change to members/ACTUAL_USER/profile/public.

    As the user changes how can I put it inside?

    This doesn´t seem correct?:

    $items .= '<li><a href="members/">user_identity.' "/profile/edit/" title="Go to your account Profile">Welcome, '.$current_user->display_name.'!</a></li>';

    I think I need a function from buddypress. But where and which?

    Thanks in forward for help :-)

You must be logged in to reply to this topic.