Getting the BuddyPress user profile link


For an author’s profile link, use

to get the URL, and

to get an HTML link element, including display name.

For the xprofile data, use

$field can be either the name of the field (like ‘Biography’) or the numerical field id.

Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *