amp_pre_is_mobile

apply_filters( 'amp_pre_is_mobile',  null $is_mobile )

Description #

Filters whether the current request is from a mobile device. This is provided as a means to short-circuit the normal determination of a mobile request below.


Parameters #

$is_mobile

(null) Whether the current request is from a mobile device.



Changelog #

Changelog
Version Description
2.0 Introduced.