How to Hide Appointment Hour Booking Admin Menus

function plt_hide_appointment_hour_booking_menus() {
	//Hide "Settings → Appointment Hour Booking".
	remove_submenu_page('options-general.php', 'cp_apphourbooking');

	//Hide "Appointment Hour Booking".
	remove_menu_page('cp_apphourbooking');
	//Hide "Appointment Hour Booking → Appointment Hour Booking".
	remove_submenu_page('cp_apphourbooking', 'cp_apphourbooking');
	//Hide "Appointment Hour Booking → General Settings".
	remove_submenu_page('cp_apphourbooking', 'cp_apphourbooking_settings');
	//Hide "Appointment Hour Booking → Add Ons".
	remove_submenu_page('cp_apphourbooking', 'cp_apphourbooking_addons');
	//Hide "Appointment Hour Booking → Online Demo".
	remove_submenu_page('cp_apphourbooking', 'cp_apphourbooking_odemo');
	//Hide "Appointment Hour Booking → I Need Help".
	remove_submenu_page('cp_apphourbooking', 'cp_apphourbooking_support');
	//Hide "Appointment Hour Booking → Upgrade Plugin".
	remove_submenu_page('cp_apphourbooking', 'cp_apphourbooking_upgrade');
}

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

Where do I put this code?