Display online Users on WordPress
Earlier today I ran into a problem where I needed a simple way to display which registered users are online right now on the site.
I’ve done a Video explaining what was my solution and how to apply it to a theme, but I myself hate when I see a video without any code that I can easily take a look at, so below the video you will find a explanation of the code step by step, and in the end the plugin I created for this purpose.
Please note that I will comment further the code on the video, but there are some comments on each one of the snippets here