How to Hide the "Shortcodes" Admin Menu

function plt_hide_shortbus_menus() {
	//Hide the "Tools → Shortcodes" menu.
	remove_submenu_page('tools.php', 'shortcode-manager');
}

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

Where do I put this code?