I am creating a plugin that, in between other features, will show the number of current online users. However, there doesn't seem to be a build in WP function that can retrieve that info for me.
I have searched the web on this topic. However, there is a lot of references to plugins but no actually simple code example.
So, can anyone tell me, with the best coding practices implemented, how I will be able to create a function that displays the number of current online/logged in users?
Thanks a lot!