How to Hide WPAdCenter Admin Menus

function plt_hide_wpadcenter_menus() {
	//Hide "WPAdCenter".
	remove_menu_page('edit.php?post_type=wpadcenter-ads');
	//Hide "WPAdCenter → Manage Ads".
	remove_submenu_page('edit.php?post_type=wpadcenter-ads', 'edit.php?post_type=wpadcenter-ads');
	//Hide "WPAdCenter → Create New Ad".
	remove_submenu_page('edit.php?post_type=wpadcenter-ads', 'post-new.php?post_type=wpadcenter-ads');
	//Hide "WPAdCenter → Manage Ad Groups".
	remove_submenu_page('edit.php?post_type=wpadcenter-ads', 'edit-tags.php?taxonomy=wpadcenter-adgroups&post_type=wpadcenter-ads');
	//Hide "WPAdCenter → Reports".
	remove_submenu_page('edit.php?post_type=wpadcenter-ads', 'wpadcenter-reports');
	//Hide "WPAdCenter → Settings".
	remove_submenu_page('edit.php?post_type=wpadcenter-ads', 'wpadcenter-settings');
	//Hide "WPAdCenter → Getting Started".
	remove_submenu_page('edit.php?post_type=wpadcenter-ads', 'wpadcenter-getting-started');
	//Hide "WPAdCenter → Go Pro".
	remove_submenu_page('edit.php?post_type=wpadcenter-ads', 'https://club.wpeka.com/product/wpadcenter?utm_source=plugin&utm_medium=wpadcenter&utm_campaign=menu-go-pro&utm_content=go-pro');
}

add_action('admin_menu', 'plt_hide_wpadcenter_menus', 11);

Where do I put this code?