apply_filters( 'wp_is_mobile', bool $is_mobile )

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


Parameters Parameters

$is_mobile

(bool) Whether the request is from a mobile device or not.



Top ↑

Source Source

File: wp-includes/vars.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.