How To Add a Sortable Registered Date Column in WP Users Panel

Recently I had a customer file a dispute with PayPal stating that they never received their product. If you sell products online, you have probably seen this type of person. Instead of just simply asking for a refund they have to be all dramatic about it.

The membership script I use (DAP) instantly adds them into the script’s database, but they don’t get added into the WordPress database until they login for the first time. I quickly checked my WordPress Users list and she was listed so I knew she had logged in to the members area.

I needed a date though, so I had to log into my cpanel, open php-my-admin and then check the date she registered… what a pain. I decided I needed to add the registered date right into the Users page in WordPress.

A search online found quite a few solutions to add a registered date column. Most of them however required hacking core files of WordPress, which you should never do!

There were a few other solutions I found, none of which worked at all.

I finally found a support thread on the WordPress.org forums with the solution that works in 3.2+
http://wordpress.org/support/topic/show-registration-date-in-user-list-sortable

The second post by Ipstenu gives a link to the working code on pastebin as a plugin. Copy the code and paste it into Notepad or a similar program then save it as: show-registration-date.php

Use an ftp program to upload the php file right into your wp-content/plugins folder
or
Zip the file and install it as a plugin using the WP plugin installer. Activate the plugin.

That’s it!

When you go to Users panel in your WP admin you should now see the sortable Registered date column.

I hope this helps narrow your search for a working solution to adding the Registered Date column into your Users panel. Let me know your thoughts below.

Posted in Wordpress and tagged , , , .

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *