function plt_hide_uber_login_logo_menus() { //Hide the "Settings → Uber Login Logo" menu. remove_submenu_page('options-general.php', 'uber-login-logo/uber-login-logo.php'); } add_action('admin_menu', 'plt_hide_uber_login_logo_menus', 11);
Where do I put this code?