function plt_hide_wps_hide_login_menus() { //Hide the "Settings → WPS Hide Login" menu. remove_submenu_page('options-general.php', 'whl_settings'); } add_action('admin_menu', 'plt_hide_wps_hide_login_menus', 11);
Where do I put this code?