Shows active users on the admin bar.
|Author:||Federico Jacobi (profile at wordpress.org)|
|WordPress version required:||3.6|
|WordPress version tested:||4.4.25|
|Added to WordPress repository:||07-05-2016|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Click to start download
It shows on the admin bar which users are currently logged in AND active. So, if a user is logged in, but hasn’t done anything, it won’t show up.
Plugin is based on heartbeat, which explain the “active” users part.
Please send feedback if this is of any use to you!
Are there limitations to the users?
Yes: In order to speed up processing time, i’ve used an option to store the active session. So, it is technically possible to have too many users going on at the same time. Options have a maximum size allocated. Also, the users show on the admin bar and at some point, your list will be too big to fit the screen.
Can I get this information programmatically?
SURE! … use wiohb_get_active_users() and an array of the users slugs.
Can I get other user info besides the slug?
Yes and no: the function above only gives you slugs, however, you can use get_user_by( ‘slug’, $the_user_name ) to get the WP_User object
- First version.