How to Hide Check & Log Email Admin Menus

function plt_hide_check_email_menus() {
	//Hide "Check  Log Email".
	remove_menu_page('check-email-status');
	//Hide "Check  Log Email → Email Logs".
	remove_submenu_page('check-email-status', 'check-email-logs');
	//Hide "Check  Log Email → Test Email".
	remove_submenu_page('check-email-status', 'check-email-status');
	//Hide "Check  Log Email → Settings".
	remove_submenu_page('check-email-status', 'check-email-settings');
	//Hide "Check  Log Email → Help  Support".
	remove_submenu_page('check-email-status', 'http://127.0.0.1/wp-admin/admin.php?page=check-email-settings&tab=support');
	//Hide "Check  Log Email → Premium Features".
	remove_submenu_page('check-email-status', 'javasctipt:void(0);');
	//Hide "Check  Log Email → Upgrade To Premium".
	remove_submenu_page('check-email-status', 'javasctipt:void(0);');
}

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

Where do I put this code?