Found a solution. Add this to the functions file:
function remove_iphone_detection() {
global $is_iphone;
$is_iphone = false;
}
add_action('init', 'remove_iphone_detection');
Though this removes iphone detection from wordpress a a whole, not just the login page, it achieved what I needed.
Related Posts:
- Send admin to a different login than users?
- How to Change the Default Home Page for the WordPress Dashboard?
- How-to make the admin area mobile friendly [closed]
- Are there any action like ‘init_frontend’
- Cannot access admin panel
- Is there a hook to put stylesheet and/or JS inside iframes (thickbox or tinyMCE) in admin area
- A similar hook as wp_head for the admin area
- Daily notices of failed login attempts for non-existent admin user
- How to Remove the “Restore” Link in Quick Edit?
- Use latest jQuery in WordPress (admin interface)
- Setting Login with User Name and Password default option for Jetpack Admin Login
- I keep getting logged out in Firefox
- Adding markup to column text in “Edit Pages” admin page
- Error thrown. Cannot create references to/from string offsets
- Disable HTML (Text) Tab in Post Editor
- Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
- How to determine if an admin is logged in outside the loop
- Manage users custom column add class “num”
- Unable to login, old site with previous developer gone
- Custom Thickbox Broken on Dashboard Page?
- Where should I hook into admin?
- Using shared SSL for login/admin
- wp-login behind nginx reverse-proxy inaccessible — bad redirect?
- Can’t access dashboard as administrator, login as any other level works though
- WordPress Admin Login Redirect Problem
- Problems with WP_List_Table and hooks
- Unable to Access WP Admin or Login buttons after Migration
- using rewrites to secure login page
- Client system for media review?
- WordPress administration Over SSL – To Force SSL Logins and SSL Admin Access
- Keep Logged in Users out of Admin Panel
- Why can’t a custom postype be registered with “admin_init” hook?
- Remove Permalink From Admin Edit Post
- Show excerpt if no title in admin view
- Seems that admin_post_{action} does not executing
- Unable to get to the admin panel
- get_current_screen and the WP_Screen class
- I can’t access the login panel on my offline website
- Admin login not working
- Filter WooCommerce Orders
- Can’t login to my admin area
- Does deleting the table users prevent all logins?
- Locked out of WordPress website from wrong amount of login attempts
- current_user_can(‘administrator’) not working in custom login
- Want to know who is login Admin/User
- Any known plugins for master admin login to edit all on front end?
- Login to admin by frontend form?
- Error “Sorry, you are not allowed to access this page”
- I can’t access login page
- Admins loggin in to our wordpress site default to the admin page
- ‘Conflict’ with action deleted_post and is_admin()
- WordPress login not working
- Login to Admin Dashboard Problem
- WordPress login process is hanging
- WordPress “Hide WP” Gives Me Error After Admin Login [closed]
- Scripts are not called until I login from wordpress backend
- Disable wp-admin log on lightbox overlay
- How to cancel redirection to admin side
- Can’t access my wp admin: captcha images invisible, gives me error message
- 2FA for admin login only, is it doable?
- Add custom column to Users admin panel
- Sort pages in loop by admin’s page attributes order field?
- Edit “thank you for creating with WordPress” in version 3.3.1
- Plugin to remove Admin menu items based on user role?
- How to obtain the user ID of the current profile being edited in WP-Admin?
- Get current active wp color scheme
- Cannot login to WordPress Admin with SSL terminated load balancer
- How to fix admin stylesheet muck-up? [closed]
- Turn off admin emails for new user registrations
- Adding custom Javascript to the head tag in Admin
- Replacing the List table of a Post Type
- Adding scripts to admin page in my theme
- Adding body class to login page?
- How to notify the admin about something that happened during a cron job
- Firing a function AFTER redirect
- I’m receiving requests to change the admin email. How can this be happening?
- Set admin body to ltr on a rtl installation
- Are there any filters to add additional columns to the list table on edit-comments.php?
- Can I mass change all admin emails for a multisite instance?
- Two websites one database, administrator not working on second website
- External Authentication, session_tokens not destroyed on logout
- WordPress admin area used to administer other site
- Add ‘Last Modified’ and Attachments (Yes/No) to WordPress Users Column
- Add term of current custom post type to admin body class using admin_body_class
- Limiting Admin Backend Search to Title
- post.php AJAX request not being called when publishing post
- Include script files for admin submenu page
- Restrict access to admin
- Wp ajax not working from “current_screen” admin hook
- solution to prevent specific admins from altering site contents
- WordPress Admin very slow
- Prevent users in the backend from seeing WP/Plugin notifications and update annoucements?
- After upgrading to WP 5.1.1 sometimes I need to reauth infinitively
- Trying to hide a submenu link which is created by Co-authors Plus plugin
- How can I create multiple different admin roles with their own capabilities
- Find out if post was just updated on post edit screen
- Wp-admin page not found following copy of site
- wordpress login loop after install
- How to remove certain feed from my dashboard in WP admin
- Hiding the media-new.php File URL option via jQuery