Link to update profile on general WP page
A while ago you posted the following code, below, to make a link, to someone’s profile. However it lands on “activity”.. I apologise if it’s a simple question but I want it to land on the person’s profile page, not their activity… e.g. http://mysite.org.uk/user/xyz/profile/. How do I adjust the below code to achieve this. Many thanks.
<code><?php $link = ap_user_link(get_current_user_id()); echo '<a href="'. $link .'"> Update your profile</a>'; ?> </code>
Thank you – that worked perfectly.