Title: Last Login
Author: dkukral
Published: <strong>22 Қаңтар, 2012</strong>
Last modified: 10 сентября, 2014

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/last-login.svg)

# Last Login

 By [dkukral](https://profiles.wordpress.org/dkukral/)

[Download](https://downloads.wordpress.org/plugin/last-login.1.2.zip)

 * [Details](https://kk.wordpress.org/plugins/last-login/#description)
 * [Reviews](https://kk.wordpress.org/plugins/last-login/#reviews)
 *  [Installation](https://kk.wordpress.org/plugins/last-login/#installation)
 * [Development](https://kk.wordpress.org/plugins/last-login/#developers)

 [Support](https://wordpress.org/support/plugin/last-login/)

## 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.

## Screenshots

 * [[

## Installation

Copy «last-login» folder to your WordPress Plugins Directory.
 Activate plugin via
WordPress settings.

## FAQ

  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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Last Login” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ dkukral ](https://profiles.wordpress.org/dkukral/)
 *   [ Joe Boydston ](https://profiles.wordpress.org/jboydston/)

[Translate “Last Login” into your language.](https://translate.wordpress.org/projects/wp-plugins/last-login)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/last-login/), check
out the [SVN repository](https://plugins.svn.wordpress.org/last-login/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/last-login/) by 
[RSS](https://plugins.trac.wordpress.org/log/last-login/?limit=100&mode=stop_on_copy&format=rss).

## 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

## Meta

 *  Version **1.2**
 *  Last updated **12 года ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **4.0.38**
 *  Language
 * [English (US)](https://wordpress.org/plugins/last-login/)
 * Tag
 * [login](https://kk.wordpress.org/plugins/tags/login/)
 *  [Advanced View](https://kk.wordpress.org/plugins/last-login/advanced/)

## Ratings

 1 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/last-login/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/last-login/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/last-login/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/last-login/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/last-login/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/last-login/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/last-login/reviews/)

## Contributors

 *   [ dkukral ](https://profiles.wordpress.org/dkukral/)
 *   [ Joe Boydston ](https://profiles.wordpress.org/jboydston/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/last-login/)