Home » Labs » How to Detect iPhone users on a WordPress Site  

How to Detect iPhone users on a WordPress Site


Filed under Labs

You can track your visitors by mobile device like iPhone, iPad etc. The below code is useful in such situation when you want to detect visitors who use an iPhone.

<?php
global $is_iphone;
if($is_iphone) {
	// Detect iPhone, you can write your on redirection.
 
 
}
?>
It's only fair to share...Share on Google+Tweet about this on TwitterShare on Facebook

Posts you may like: