WP Last Login

December 22, 2023

WP Last Login Plugin

Make the last login for each user visible in the user overview.

This plugin adds an extra column to the users overview with the date of the last login for each user.
Additionally, users can be sorted by the date of their last login.

Translations

I will be more than happy to update the plugin with new locales, as soon as I receive them!
Currently available in:

  • Arabic
  • Chinese
  • French
  • English
  • German
  • Italian
  • Japanese
  • Nederlands
  • Norwegian (bokmÃ¥l)
  • Polish
  • Portuguese
  • Rumanian
  • Russian
  • Spanish

Plugin Filter Hooks

wpll_current_user_can (boolean)

Whether the column is supposed to be shown.
Default: true

wpll_date_format (string)

The date format string for the date output.

Installation

  1. Download WP Last Login.
  2. Unzip the folder into the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

Screenshots

  1. Last login column in the user table.

    Last login column in the user table.

FAQ

None asked yet.

Changelog

7

  • Added compatibility with Two Factor plugin. Props @bkno.
  • Improved date display to display login time on hover.

6

  • Revamped file structure to remove unnecessary files.
  • Fixed a bug where login dates were overwritten on plugin reactivation. Props @richardbuff.

5

  • Improved uninstall routine (no longer queries all users).
  • Updated utility class.
  • Tested with WordPress 6.1.

4

  • Improved date display to account for the timezone of the site. Props @knutsp.

3

  • Fixed a bug where users who haven’t logged in disappear from user lists when ordering by last login. See https://wordpress.org/support/topic/new-users-dont-get-the-meta-field/

2

  • Maintenance release.
  • Updated code to adhere to WordPress Coding Standards.
  • Tested with WordPress 5.0.

1.4.0

  • Fixed a long standing bug, where sorting users by last login didn’t work.
  • Tested with WordPress 4.3.

1.3.0

  • Maintenance release.
  • Tested with WordPress 4.0.

1.2.1

  • Reverts changes to wp_login() as the second argument seems not to be set at all times.

1.2.0

  • Users are now sortable by last login!
  • Updated utility class.
  • Added Danish translation. Props thomasclausen.

1.1.2

  • Fixed a bug where content of other custom columns were not displayed.

1.1.1

  • Updated utility class.

1.1.0

  • Made the display of the column filterable.
  • Widened the column a bit to accommodate for large date strings.

1.0

  • Initial Release.

Details

  • Version: 7
  • Active installations: 10,000
  • WordPress Version: 3.1
  • Tested up to: 6.4.5

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars