Learn how to record the date & time when users log in to your WordPress website. Display these login dates in the admin area so you can find inactive accounts. We’ll do this with a small amount of copy-and-paste PHP code, without installing any new plugins.
WordPress Tutorials: Security
Simple techniques and PHP snippets that will make your WordPress website more secure.