bbp_user_profile_url( int $user_id, string $user_nicename = '' )

Output URL to the profile page of a user

Description

Parameters

$user_id

(int) (Optional) User id

$user_nicename

(string) (Optional) User nicename

Default value: ''

Source

File: bp-forums/users/template.php

function bbp_user_profile_url( $user_id = 0, $user_nicename = '' ) {
	echo esc_url( bbp_get_user_profile_url( $user_id, $user_nicename ) );
}

Changelog

Changelog
Version Description
bbPress (r2688) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.