How to Hide Email Verification / SMS Verification / Mobile Verification Admin Menus

function plt_hide_miniorange_otp_verification_menus() {
	//Hide "OTP Verification".
	remove_menu_page('mosettings');
	//Hide "OTP Verification → Forms".
	remove_submenu_page('mosettings', 'mosettings');
	//Hide "OTP Verification → Notifications".
	remove_submenu_page('mosettings', 'monotifications');
	//Hide "OTP Verification → Settings".
	remove_submenu_page('mosettings', 'otpsettings');
	//Hide "OTP Verification → Gateway Settings".
	remove_submenu_page('mosettings', 'mogateway');
	//Hide "OTP Verification → Transaction Report".
	remove_submenu_page('mosettings', 'moreporting');
	//Hide "OTP Verification → WhatsApp".
	remove_submenu_page('mosettings', 'mowhatsapp');
	//Hide "OTP Verification → AddOns".
	remove_submenu_page('mosettings', 'addon');
	//Hide "OTP Verification → Account Setup".
	remove_submenu_page('mosettings', 'otpaccount');
	//Hide "OTP Verification → Licensing Plans".
	remove_submenu_page('mosettings', 'mootppricing');
}

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

Where do I put this code?