Plugin info

Total downloads: 2,537
Active installs: 10
Total reviews: 1
Average rating: 1
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 4
Last updated: 9/10/2014 (4130 days ago)
Added to WordPress: 1/22/2012 (13 years old)
Minimum WordPress version: 3.0
Tested up to WordPress version: 4.0.38
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4130 days ago • 1 reviews

22/100

Is Last Login abandoned?

Possibly abandoned (last update 4130 days ago).

Compatibility

Requires WordPress: 3.0
Tested up to: 4.0.38
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WPS Hide Login
Rating 4.8/5 (2,098 reviews)Active installs 2,000,000
Loginizer
Rating 4.8/5 (1,013 reviews)Active installs 1,000,000
Security Optimizer – The All-In-One Protection Plugin
Rating 4.6/5 (149 reviews)Active installs 900,000
Limit Login Attempts
Rating 4.6/5 (202 reviews)Active installs 300,000

Description

Records logins and provides a function to display the timestamp.

License

Copyright 2010 – 2014 Joe Boydston, Don Kukral

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USANone.

Installation

Copy “last-login” folder to your WordPress Plugins Directory.
Activate plugin via WordPress settings.

Frequently Asked Questions

How do I display the last login of the current user?

<php echo get_last_login_current_user(); %gt;

How do I display the last login of a specific user?

<php echo get_last_login($user_id); %gt;

How do I change the date format of the last login time?

You can pass the format to either last_login_time_current_user() or last_login_time() functions.

Use standard PHP strftime format parameters.
(http://php.net/manual/en/function.strftime.php)

<php echo get_last_login_current_user($format); %gt;
<php echo get_last_login($user_id, $format); %gt;

How can I see if the user has a recorded timestamp? (has logged in since plugin activated)

You can call check_last_login($user_id) or check_last_login_current_user().

It will return true if a login has been recorded and false if not.

Review feed

No reviews available

Screenshots

Changelog

1.2

Verified compatibility with WP 4.0 – fixed call to get_last_login()

1.1

Verified compatibility with WP 3.9.1

1.0

Initial Version