Beschrijving
WP Last Login records when each user signs in and surfaces it as a sortable column on the Users screen — so you can see who’s active, identify dormant accounts, and confirm that real people are coming back.
Features
- Sortable “Last Login” column on the Users screen, including the network admin user list on multisite.
- Hover any date to reveal the exact login time.
- Captures logins via the standard
wp_loginaction, so it works with any login flow that triggers it — including the Two Factor plugin, WooCommerce, BuddyBoss, and most social-login plugins. - Users without a recorded login show a neutral em-dash (—) — never a misleading “never” — and still sort correctly when ordered by last login.
- Lightweight: one user meta key, no settings page, no extra database tables.
- Filter hooks let you customize the date format, the placeholder shown for users without a recorded login, or hide the column from non-admin roles.
Plugin filter hooks
wpll_current_user_can (boolean)
Of de kolom getoond moet worden.
Standaard: true
wpll_date_format (string)
De datumnotatie voor de datumweergave.
wpll_no_login_output (string, int)
The markup displayed for users without a recorded login, and the user’s ID.
Default: an em-dash with an explanatory tooltip
Installatie
- Download WP Last Login.
- Pak de map uit in de map
/wp-content/plugins/. - Activeer de plugin via het menu ‘Plugins’ in WordPress.
FAQ
-
Why does the column show an em-dash (—) for all my users?
-
The plugin records a login when a user signs in after it’s been activated. WordPress doesn’t store historical login data, so existing accounts will start populating their “Last Login” the next time each user logs in. Hovering the dash shows a tooltip explaining the same.
-
How do I change the date format or show the time?
-
The date follows your site’s general date format (Settings General); the exact time appears on hover. To override the date format, use the
wpll_date_formatfilter:add_filter( 'wpll_date_format', function() { return 'Y-m-d H:i'; } ); -
How do I change what’s shown for users without a recorded login?
-
Filter
wpll_no_login_output. It receives the default placeholder markup and the user ID, and whatever you return is printed as-is, so escape any custom output:add_filter( 'wpll_no_login_output', function( $output, $user_id ) { return esc_html__( '(No logins since October 9, 2026)', 'my-textdomain' ); }, 10, 2 ); -
How do I hide the column from non-admin users?
-
Filter
wpll_current_user_canand return a capability check. Login tracking still happens — only column visibility is gated:add_filter( 'wpll_current_user_can', function() { return current_user_can( 'manage_options' ); } ); -
Yes. The plugin hooks into WordPress’s standard
wp_loginaction, so any login method that triggers it is captured. The Two Factor plugin (which interruptswp_login) is supported via a dedicated hook. -
What happens to my data if I deactivate the plugin?
-
Deactivating leaves stored login timestamps intact, so reactivating preserves history. Uninstalling (deleting the plugin entirely) removes all of the plugin’s user meta.
Beoordelingen
Bijdragers & ontwikkelaars
“WP Last Login” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
Bijdragers“WP Last Login” is vertaald in 11 localen. Dank voor de vertalers voor hun bijdragen.
Vertaal “WP Last Login” in je eigen taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
9
- Added the
wpll_no_login_outputfilter to customize what is displayed for users without a recorded login. See https://wordpress.org/support/topic/feature-request-filter-the-for-users-without-login-data/
8
- Fixed users with no recorded login being dropped from the list when sorting by Last Login.
- Removed the activation routine that seeded a default value for every existing user, which could time out on sites with large user bases. Sorting no longer depends on it. Props @fwielstra.
- Replaced the “Never.” placeholder with a neutral em-dash and an explanatory tooltip.
- Raised the minimum PHP version to 8.1. PHP 7.4 and 8.0 reached end of life and no longer receive security updates.
- Tested up to WordPress 7.1.
7
- Compatibiliteit toegevoegd met de Two Factor plugin. Met dank aan @bkno.
- Improved date display to display login time on hover.
6
- Bestandsstructuur vernieuwd om overbodige bestanden te verwijderen.
- Bug opgelost waarbij logindatums werden overschreven bij heractivatie van de plugin. Met dank aan @richardbuff.
5
- Verbeterde deïnstallatieroutine (vraagt niet langer alle gebruikers op).
- Updated utility class.
- Getest met WordPress 6.1.
4
- Datumweergave verbeterd zodat rekening wordt gehouden met de tijdzone van de site. Met dank aan @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
- Onderhoudsrelease.
- Updated code to adhere to WordPress Coding Standards.
- Getest met WordPress 5.0.
1.4.0
- Een langlopende bug opgelost waarbij sorteren van gebruikers op laatste login niet werkte.
- Getest met WordPress 4.3.
1.3.0
- Onderhoudsrelease.
- Getest met WordPress 4.0.
1.2.1
- Wijzigingen aan wp_login() teruggedraaid omdat het tweede argument niet altijd lijkt te worden meegegeven.
1.2.0
- Gebruikers kunnen nu gesorteerd worden op laatste login!
- Updated utility class.
- Deense vertaling toegevoegd. Met dank aan thomasclausen.
1.1.2
- Bug opgelost waarbij de inhoud van andere aangepaste kolommen niet werd getoond.
1.1.1
- Updated utility class.
1.1.0
- Weergave van de kolom filterbaar gemaakt.
- Kolom iets verbreed om plaats te bieden aan langere datumstrings.
1.0
- Initiële release.

