function plt_hide_ats_privacy_policy_menus() { //Hide the "Settings → ATs Privacy Policy" menu. remove_submenu_page('options-general.php', 'policy-ats.php'); } add_action('admin_menu', 'plt_hide_ats_privacy_policy_menus', 11);
Where do I put this code?