bbp_user_nicename( int $user_id, array $args = array() )

Output a users nicename to the screen

Description

Parameters

$user_id

(int) (Required) User ID whose nicename to get

$args

(array) (Optional) before|after|user_id|force

Default value: array()

Source

File: bp-forums/users/template.php

function bbp_user_nicename( $user_id = 0, $args = array() ) {
	echo bbp_get_user_nicename( $user_id, $args );
}

Changelog

Changelog
Version Description
bbPress (r4671) 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.