function plt_hide_domain_mapping_system_menus() { //Hide the "Domain Mapping" menu. remove_menu_page('domain-mapping-system'); } add_action('admin_menu', 'plt_hide_domain_mapping_system_menus', 1000000000);
Where do I put this code?