How to Hide the "Content Links" Admin Menu

function plt_hide_content_links_menus() {
	//Hide the "Content Links" menu.
	remove_menu_page('link-settings');
}

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

Where do I put this code?