WordPress - Capture users last login date and time

1
2
<?php
// set the last login date
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Adding the first snippet to the functions.php of your WordPress theme will capture a users last login date.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.