How to Hide Nashaat Activity Log Admin Menus

function plt_hide_nashaat_activity_log_menus() {
	//Hide the "Nashaat" menu.
	remove_menu_page('nashaat-table');
	//Hide the "Nashaat → Nashaat" menu.
	remove_submenu_page('nashaat-table', 'nashaat-table');
	//Hide the "Nashaat → Settings" menu.
	remove_submenu_page('nashaat-table', 'nashaat-settings');
}

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

Where do I put this code?