wp_is_mobile

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'wp_is_mobile', bool $is_mobile )

Parameters Parameters

$is_mobile

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

Source Source

File: wp-includes/vars.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.