What is wp_is_mobile ?
wp_is_mobile
is a WordPress function to detect user/visitor browser using user agent string. Some might think that this method is like prehistoric era. An era before we have responsive design. Web developer use user agent string to serve different website content to mobile user or redirect to mobile site, something like m.website.com.
So why WordPress, a CMS of the future have this function? Why WordPress still need this and use this function all across admin pages?
What Responsive Design Cannot Do
Responsive design is awesome, we can style based on browser width so the design can be useful and better for user using any device.
But there’s one problem…
Read More Better Responsive Design with `wp_is_mobile`, Why Responsive Design is Not Enough