How to Hide WP Offload SES Lite Admin Menus

function plt_hide_wp_ses_menus() {
	//Hide the "Dashboard → Offload SES Lite" menu.
	remove_submenu_page('index.php', 'http://127.0.0.1/wp-admin/options-general.php?page=wp-offload-ses#reports');
	//Hide the "Settings → Offload SES Lite" menu.
	remove_submenu_page('options-general.php', 'wp-offload-ses');
}

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

Where do I put this code?