Displays when a user was last active.


Provided in the Core Plugin.


You can use the global shortcode settings via WPS Pro->Shortcodes in the admin dashboard, or add them to the shortcode as options.



Will simply show the last time the user was active, re-acting if used on a profile page to the user being viewed.

[wps-last-active user_id="user"]

Will show the last time the current user was active, which will always be pretty much the same time the page has been loaded.

[wps-last-active user_id="5"]

Will show the last time the user with an ID equal to 5 was active.


The following (which shows default values and an example of using the shortcode option) can be set via the admin dashboard (WPS Pro->Shortcodes) or added as options to the shortcode in your WordPress page, post or widget.

User (user_id=”user” or set to a user ID in shortcode)
Format for date (date_format=”%s ago”)
No last login text (not_logged_in_msg=”Not logged in recently.”)