WP_MS_Users_List_Table::column_registered

Advertisement

Summery Summery

Handles the registered date column output.

Syntax Syntax

WP_MS_Users_List_Table::column_registered( WP_User $user )

Parameters Parameters

$user

(Required) The current WP_User object.

Source Source

File: wp-admin/includes/class-wp-ms-users-list-table.php

	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 );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply