WP_Customize_Manager::is_ios()

Determine whether the user agent is iOS.


Description Description


Return Return

(bool) Whether the user agent is iOS.


Top ↑

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'] );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.