How to Add user_registered Column in Authors & Users Page on wp-admin of WordPress
Once upon a time, I needed to monitor when did my users register their account in one of my WordPress website. It meant that I needed to get the value from user_registered field in the users table, and then displaying it in Authors & Users page on wp-admin of WordPress. I have searched for the plugin regarding this, but I found nothing. Actually, I wanted to create the plugin to implement it. Unfortunately, I still have no idea how to do this, since I am not expert to create the plugin (probably someday I can do it). So I decided to edit the core file of WordPress. First of all, I opened the users.php file that located in wp-admin sub directory. After investigating this file for a few minutes, then I found the code regarding how to display the users list in template.php based on the code or function call user_row and get_column_headers. This template.php file located in /wp-admin/includes/ sub directory. So, here is the modification I made. Read more…
Recent Comments