Remove specific links in the tutor dashboard in Tutor LMS

Remove specific links in the tutor dashboard in Tutor LMS on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter('tutor_dashboard/nav_items', 'remove_some_links_dashboard');
function remove_some_links_dashboard($links){
	unset($links['reviews']);
	unset($links['wishlist']);
	return $links;
}