WP_MS_Users_List_Table::column_registered()
Handles the registered date column output.
Method of the class: WP_MS_Users_List_Table{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_MS_Users_List_Table = new WP_MS_Users_List_Table(); $WP_MS_Users_List_Table->column_registered( $user );
- $user(WP_User) (required)
- The current WP_User object.
Notes
- Global. String. $mode List table view mode.
Changelog
Since 4.3.0 | Introduced. |
WP_MS_Users_List_Table::column_registered() WP MS Users List Table::column registered code WP 6.6.2
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 ); }