Title: wp-includes/vars.php | Developer.WordPress.org

---

# File: wp-includes/vars.php

 * hook[wp_is_mobile](https://developer.wordpress.org/reference/hooks/wp_is_mobile/)
 * Filters whether the request should be treated as coming from a mobile device 
   or not.
 * Used by [1 function](https://developer.wordpress.org/reference/hooks/wp_is_mobile/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/wp_is_mobile/#uses)
   | Source: [wp-includes/vars.php:189](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/vars.php#L189-L189)
 * function[wp_is_mobile()](https://developer.wordpress.org/reference/functions/wp_is_mobile/)
 * Test if the current browser runs on a mobile device (smart phone, tablet, etc.).
 * Used by [9 functions](https://developer.wordpress.org/reference/functions/wp_is_mobile/#used-by)
   | Uses [1 function](https://developer.wordpress.org/reference/functions/wp_is_mobile/#uses)
   | Source: [wp-includes/vars.php:163](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/vars.php#L163-L190)
 * hook[use_google_chrome_frame](https://developer.wordpress.org/reference/hooks/use_google_chrome_frame/)
 * Filters whether Google Chrome Frame should be used, if available.
 * Used by [0 functions](https://developer.wordpress.org/reference/hooks/use_google_chrome_frame/#used-by)
   | Uses [0 functions](https://developer.wordpress.org/reference/hooks/use_google_chrome_frame/#uses)
   | Source: [wp-includes/vars.php:89](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/vars.php#L89-L89)