This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*========================== | |
This snippet shows how to add an active user count to the WordPress Dashboard. | |
Copy these contents to functions.php | |
===========================*/ | |
//Active Users Metabox | |
add_action('wp_dashboard_setup', 'gearside_activeusers_metabox'); | |
function gearside_activeusers_metabox(){ |