Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How do I refer to current user’s name?


davidbessler
Member

@davidbessler

so:

Function BlahBlah () {

global $bb_current_user;

$myName = get_user_name( $bb_current_user->ID );

echo "Hello, my name is ".$myName;

}

Like that?

Where can I find a list of all these variables and functions? Like how did the author of that plugin know there was such a thing as get_user_name()?

Skip to toolbar