How to Hide the "Developer" Admin Menu

function plt_hide_developer_menus() {
	//Hide the "Tools → Developer" menu.
	remove_submenu_page('tools.php', 'a8c_developer');
}

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

Where do I put this code?