How to Hide Strong Testimonials Admin Menus

function plt_hide_strong_testimonials_menus() {
	//Hide "Testimonials".
	remove_menu_page('edit.php?post_type=wpm-testimonial');
	//Hide "Testimonials → All Testimonials".
	remove_submenu_page('edit.php?post_type=wpm-testimonial', 'edit.php?post_type=wpm-testimonial');
	//Hide "Testimonials → Add New".
	remove_submenu_page('edit.php?post_type=wpm-testimonial', 'post-new.php?post_type=wpm-testimonial');
	//Hide "Testimonials → Categories".
	remove_submenu_page('edit.php?post_type=wpm-testimonial', 'edit-tags.php?taxonomy=wpm-testimonial-category&post_type=wpm-testimonial');
	//Hide "Testimonials → Views".
	remove_submenu_page('edit.php?post_type=wpm-testimonial', 'testimonial-views');
	//Hide "Testimonials → Fields".
	remove_submenu_page('edit.php?post_type=wpm-testimonial', 'testimonial-fields');
	//Hide "Testimonials → Settings".
	remove_submenu_page('edit.php?post_type=wpm-testimonial', 'testimonial-settings');
	//Hide "Testimonials → Shortcodes".
	remove_submenu_page('edit.php?post_type=wpm-testimonial', 'testimonial-shortcodes');
	//Hide "Testimonials → About".
	remove_submenu_page('edit.php?post_type=wpm-testimonial', 'about-strong-testimonials');
	//Hide "Testimonials → Extensions".
	remove_submenu_page('edit.php?post_type=wpm-testimonial', 'strong-testimonials-addons');
}

add_action('admin_menu', 'plt_hide_strong_testimonials_menus', 201);

Where do I put this code?