update 4
-
I have a dashboard widget that uses get_users_online().
The purpose of my widget was to see the current number at a glance and if I want more I go to your admin page.
This function return a link to “index.php?page=useronline” it should be “admin.php?page=wp-useronline&tab=useronline”.
My solution was using str_replace() to get the proper link to the admin page.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.