WPDev.one
Core Function
View Source on Trac ↗

wp_is_mobile()

wp_is_mobile( )

Test if the current browser runs on a mobile device (smart phone, tablet, etc.).

Return Value

(bool)
bool

Function Information

Since Version
3.4.0
Source File
wp-includes/vars.php
Advertisement