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?
- Admin Login page not working at all
- WordPress 4.5 Inline Link Toolbar not working on custom wp_editor instance
- New User Notification – Setting Email
- My Account Lost Administrator permission
- WordPress admin panel is blank
- How to add a new link to the default register form’s footer links?
- I don’t have permission to save the theme options I created myself?
- Use the wordpress admin table
- Pull Random Images From Options Page [closed]
- Content is displayed under admin bar [closed]
- different startsite for IOS and change menu
- Cant enter admin page with SSL
- deploying a standard build of wordpress in WHM/cPanel
- You do not have permission to access this document on form submit
- Different customer login form than administrator login form?
- Private messaging plugins + custom admin
- Woo Commerce Settings for Check-out Form [closed]
- Does wp_login hook fire on user registration?
- Filtered dropdown for author?
- Add custom css class to wp-list-table row for custom post type
- How to make the Panel // WP-Admin lighter via Mobile
- Custom column with post ID not working in CPT
- Change order of the block editor’s panel
- How to enforce authentication for all resources?
- Mixed language in admin backend
- What Role to assign remote site developer?
- Add a user to edit the layout of a site
- CSS Styles specific to Admin Sidebar not loading
- 500 error for regular users, not for admin
- Display admin sidebar into custom post pages if logged
- Display notice in block editor after wp_insert_post_data hook
- Changing login url
- Modify ‘the_content’ appearance in the admin area
- Change password reqts with NO plugin without breaking resetpass link?
- WordPress site down for my IP only after trying to implement .htaccess whitelist
- I accidentally rejected my wordpress admin account!
- Unknown phantom user “wordpress” created with admin privileges
- Is there a way to assign a default Category to a Post when the user creates a new Post?
- Hide Dashboard and Profile from non admin in sidebar
- Redirecting after login except for a specific page