WP_MS_Users_List_Table::column_registered() – Handles the registered date column output.

You appear to be a bot. Output may be restricted

Description

Handles the registered date column output.

Usage

WP_MS_Users_List_Table::column_registered( $user );

Parameters

$user
( WP_User ) required – The current WP_User object.

Returns

void

Source

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

1 to 9 of 9
  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 );
  }
 

 View on GitHub View on Trac