How to Hide the "Shortcode any widget" Admin Menu

function plt_hide_amr_shortcode_any_widget_menus() {
	//Hide the "Settings → Shortcode any widget" menu.
	remove_submenu_page('options-general.php', 'amr_saw');
}

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

Where do I put this code?