wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_is_mobile › WordPress Filter Hooks

Since4.9.0
Deprecatedn/a
apply_filters( 'wp_is_mobile', $is_mobile )
Parameters:
  • (bool) $is_mobile Whether the request is from a mobile device or not.
    Required: Yes
Defined at:
Codex:

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





Source

return apply_filters( 'wp_is_mobile', $is_mobile );