WP_Customize_Manager::is_ios(): bool In this article Table of ContentsReturn Source Related Changelog ↑ Back to top Determines whether the user agent is iOS. Return bool Whether the user agent is iOS. Source public function is_ios() { return wp_is_mobile() && preg_match( '/iPad|iPod|iPhone/', $_SERVER['HTTP_USER_AGENT'] ); } View all references View on Trac View on GitHub Related UsesDescriptionwp_is_mobile()wp-includes/vars.phpTest if the current browser runs on a mobile device (smart phone, tablet, etc.). Used byDescriptionWP_Customize_Manager::customize_pane_settings()wp-includes/class-wp-customize-manager.phpPrints JavaScript settings for parent window. Changelog VersionDescription4.4.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.