WP_Customize_Manager::is_ios()
Determine whether the user agent is iOS.
Description Description
Return Return
(bool) Whether the user agent is iOS.
Source Source
File: wp-includes/class-wp-customize-manager.php
public function is_ios() { return wp_is_mobile() && preg_match( '/iPad|iPod|iPhone/', $_SERVER['HTTP_USER_AGENT'] ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |