Hi,
How can we remove/hide the Statistics & Results Tabs from the user's dashboard?
Thanks,
Dan.
li#course-results-personal-li a{display:none !Important;}
#course-stats-personal-li a{display:none !important;}
Still issue with the "Statistics" need to remove the link now from the user menu:
The above css works fine, refer:
http://prntscr.com/dm4g6q
Please make sure you add the css in wp-admin->appearance->customize->custom css:
Also make sure you add the css properly and also try clearing the cache before checking.
This reply has been marked as private.
None of your screenshots are not visible to us, that's why we couldn't understand it.
For removing the stats from the login menu dropdown add the bellow code in your wplms-customizer.php file present in wp-admin->plugins->editor->select wplms customizer plugin->wplms-customizer.php file:
add_filter('wplms_logged_in_top_menu','loggedin_profile_menu_dropdown',999);
function loggedin_profile_menu_dropdown($loggedin_menu) {
unset($loggedin_menu['stats']);
return $loggedin_menu;
}
This worked perfectly!
Thanks.