Advertisement

wp_is_mobile

Filters whether the request should be treated as coming from a mobile device or not.

wp_is_mobile

Test if the current browser runs on a mobile device (smart phone, tablet, etc.)