Editing The Tutor Dashboard Not working
-
hello
i try to remove some menu items with filters in function.php like code below :
add_filter('tutor_dashboard/nav_items', 'remove_some_links_dashboard'); function remove_some_links_dashboard($links){ unset($links['reviews']); unset($links['wishlist']); return $links; }
it remove some items and does not remove some others
like logout , change password in settings (i tried it’s own code snippet)
so how to remove them ?
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.