# Registration Date Column in the Users List

> Adds a sortable "Registered" column to the Users screen showing when each account was created.

- Type: PHP
- Runs: Admin only
- Category: [Users](https://wpide.com/library/category/users/)
- Tags: users, columns, registration
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/registration-date-column/

## Code

```php
add_filter( 'manage_users_columns', function ( $columns ) {
    $columns['wpide_registered'] = 'Registered';

    return $columns;
} );

add_filter( 'manage_users_custom_column', function ( $output, $column, $user_id ) {
    if ( 'wpide_registered' !== $column ) {
        return $output;
    }

    $user = get_userdata( $user_id );

    return $user ? esc_html( get_date_from_gmt( $user->user_registered, get_option( 'date_format' ) ) ) : $output;
}, 10, 3 );

add_filter( 'manage_users_sortable_columns', function ( $columns ) {
    $columns['wpide_registered'] = 'registered';

    return $columns;
} );
```

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Registration Date Column in the Users List" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
