This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Include and instantiate the class. | |
require_once 'Mobile_Detect.php'; | |
$detect = new Mobile_Detect; | |
// Any mobile device (phones or tablets). | |
if ( $detect->isMobile() ) { | |
} | |
// Any tablet device. |
NewerOlder