Create WordPress Plugin

Creating a WordPress Plugin is very simple if you have a basic PHP knowledge. A single PHP file can be used as a WordPress Plugin having some structured information. Lets try creating your first WordPress Plugin.

Display Users login time on WP Admin Users Table

Using the wp_login hook, we could save an users login time. One usage of saving login time would be, to check who were recently logged-in to the site. wp_login action is called when a user successfully authenticate using his username/password. This action provides two information user_login (username) and userdata. And we will use this hook […]