Displays when a user last logged in.
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 logged in, re-acting if used on a profile page to the user being viewed.
Will show the last time the current user last logged in.
Will show the last time the user with an ID equal to 5 logged in.
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=”” 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.”)|