This does far more than remove tablets from wp_is_mobile()
-
I think the description of this plugin could be better –
Mobile Detect replaces the very simplistic mobile detection that WordPress utilises (Mobile/Android/Silk/Kindle/Blackberry/Opera Mini/Opera Mobi) with an always up-to-date and exhaustive list covering even the most obscure devices.
AND it allows over-riding the default “treat tablets as mobiles”.
AND it uses the same detection method as WP-Rocket, so if you use a seperate mobile cache you know it won’t get contaminated when WP-Rocket detects the user is mobile but WordPress doesn’t.
One suggestion – detect if WP-Rocket is activated, and if so, link to their copy of mobile-detect.php rather than maintaining a second copy. (maybe other caches also if they use the same library).
- The topic ‘This does far more than remove tablets from wp_is_mobile()’ is closed to new replies.