How to Hide ARVE Advanced Responsive Video Embedder Admin Menus

function plt_hide_advanced_responsive_video_embedder_menus() {
	//Hide the "Settings → ARVE Licenses" menu.
	remove_submenu_page('options-general.php', 'nextgenthemes-licenses');
	//Hide the "Settings → ARVE" menu.
	remove_submenu_page('options-general.php', 'advanced-responsive-video-embedder');
}

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

Where do I put this code?