← Free Plugins

User Last Visit

Free WordPress plugin by CNHK SYSTEMS

★★★★★ 4.5 · 2 ratings · 30 active installs

The plugin keeps record in UNIX timstamp format of the last time each logged in user visits the site. Record for each user is directly visible on the users list table in the admin panel. The plugin a…

30 active installs v1.0 latest version 11 Dec 2016 last updated 14 Apr 2015 added 2 ratings

About User Last Visit

User Last Visit 1.0 is a free WordPress plugin by CNHK SYSTEMS. It is rated 4.5 out of 5 from 2 ratings and is active on 30 WordPress sites. The latest version is 1.0, last updated on 11 Dec 2016. You can download it free from WordPress.org — no account or payment needed.

The plugin keeps record in UNIX timstamp format of the last time each logged in user visits the site. Record for each user is directly
visible on the users list table in the admin panel. The plugin also provides some utility function and hook.

Function Description

user_last_visit( $user_id = "current", $verbose = TRUE );

  • Parameters :

    • mixed $user_id, the user ID or “current” for the current user (logged in user). default: “current”.
    • bool $verbose, if TRUE the result returned is a literal expression of the last visit time. default: TRUE.
  • Returned value :

If $verbose is TRUE a string is returned. If $verbose is FALSE the UNIX timestamp of last visit is returned. When the user is not logged in, or when there is no record yet, the function return FALSE if $verbose is set to FALSE, a string if $verbose is TRUE.

Filter Hook

"ulv-can-record" : located in "./includes/user-last-visit.class.php" around line #24

Some users or some pages can be excluded for last visit recording. There is an admin page for that. But you can also add some additional filtering via this hook. This filter hook is applied within a wp_loaded action. So you must attach your functions before that (typically on init, once the user is authenticated).
You can eventually use the User_Last_Visit class separately in your theme/plugin.

Available Translations

Français

Questions about User Last Visit

Is User Last Visit free?

Yes. User Last Visit is free to download and use from the official WordPress.org directory. There is no payment and no account needed — the download on this page goes straight to WordPress.org.

What is the latest version of User Last Visit?

The latest version is 1.0, last updated on 11 Dec 2016.

How popular is User Last Visit?

It is rated 4.5 out of 5 from 2 ratings and is active on 30 WordPress sites.

How do I install User Last Visit?

From your WordPress dashboard, go to Plugins → Add New, search for User Last Visit, then Install and Activate. You can also download the ZIP from WordPress.org and upload it under Plugins → Add New → Upload Plugin.

Where do I download User Last Visit?

Directly from WordPress.org. The Download button on this page goes straight to the official WordPress.org download, and GPLWPClub does not store the file.

Tags

logged inmultisiterecorduserVisit