Skip to content

Just a simple and free WordPress plugin to get all user online in your website

Notifications You must be signed in to change notification settings

alexilallas/online-users-highlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WordPress Plugin: online-users-highlight

Free plugin to get all user online in your website

How To use

You can add in your page as a shortcode and display a table of users or you can call the function to use the data whatever you want!

Shortcode

echo do_shortcode("[online-users-highlight]");

Result:

Result Shortcode

Function

foreach (get_online_users() as $user) {
    echo nl2br("ID: $user->ID  name: $user->display_name \n");
}

Result:

ID: 1 name: root
ID: 2 name: Jose Predo

About

Just a simple and free WordPress plugin to get all user online in your website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published