Mobile Detect
<?php /* * Local plugin enable/disable settings */ if ( preg_match ( "/phone|iphone|itouch|ipod|symbian|android|htc_|htc-|palmos|blackberry|opera mini|iemobile|windows ce|nokia|fennec|hiptop|kindle|mot |mot-|webos\/|samsung|sonyericsson|^sie-|nintendo/", strtolower ( $_SERVER['HTTP_USER_AGENT'] ) ) ) { // blah blah }