Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of logged in users in Wordpress?

Is it possible to get a list of logged in users in Wordpress?

Thank you

like image 923
Goran Avatar asked Sep 27 '10 09:09

Goran


People also ask

How do I get a list of all users in WordPress?

get_users( array $args = array() ): array. Retrieves list of users matching criteria.


1 Answers

Yes. There is a plugin for that: "WP-OnlineUsers". You can find this plugin here: http://lesterchan.net/portfolio/programming/php/

If you want the PHP code to do the same, just look at the source of this plugin.

like image 93
Benoit Courtine Avatar answered Jan 02 '23 08:01

Benoit Courtine