The following snippet will help you detect your iPhone visitors and let you customise your website and create a better experience for them. To work add this code to your theme’s functions.php file.

<?php
global $is_iphone;
if($is_iphone) {
    // User in on an iPhone.
}
?>
 

Leave a Comment

You must be logged in to post a Review.