fbpx
How to Detect iPhone Users in WordPress

How to Detect iPhone Users in WordPress

This snippet will help you detect your iPhone visitors and let you customise your website and create a better experience for them.

Instructions
Add the following to your functions.php file.

global $is_iphone;
     if($is_iphone) {
          // Content
     }

WordPress Hosting

Leave a Reply

Your email address will not be published. Required fields are marked *