WordPress at Your Fingertips
function is not described

WP_MS_Users_List_Table::column_name() public WP 4.3.0

Handles the name column output.

{} It's a method of the class: WP_MS_Users_List_Table{}

No Hooks.

Return

null. Nothing.

Usage

$WP_MS_Users_List_Table = new WP_MS_Users_List_Table();
$WP_MS_Users_List_Table->column_name( $user );
$user(WP_User) (required)
The current WP_User object.

Changelog

Since 4.3.0 Introduced.

Code of WP_MS_Users_List_Table::column_name() WP 5.8.2

public function column_name( $user ) {
	if ( $user->first_name && $user->last_name ) {
		echo "$user->first_name $user->last_name";
	} elseif ( $user->first_name ) {
		echo $user->first_name;
	} elseif ( $user->last_name ) {
		echo $user->last_name;
	} else {
		echo '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' . _x( 'Unknown', 'name' ) . '</span>';
	}
}