WP_MS_Users_List_Table::column_registered( WP_User $user )

In this article

Handles the registered date column output.

Parameters

$userWP_Userrequired
The current WP_User object.

Source

public function column_registered( $user ) {
	global $mode;
	if ( 'list' === $mode ) {
		$date = __( 'Y/m/d' );
	} else {
		$date = __( 'Y/m/d g:i:s a' );
	}
	echo mysql2date( $date, $user->user_registered );
}

Changelog

VersionDescription
4.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.