Hm, it keeps reverting it to private. Not sure why.
function group_verifier($group_compare_value) {
if(function_exists(‘websitez_get_mobile_device’)){ //Check to see if the WP Mobile Detector is installed
$mobile_device = websitez_get_mobile_device(); //Returns an array with mobile detection values
if(is_array($mobile_device) && $mobile_device[‘type’] == “1” || is_array($mobile_device) && $mobile_device[‘type’] == “2”){
return true;
}
} //End WP Mobile Detector hook
return isset($_SERVER[‘HTTP_USER_AGENT’]) && preg_match(‘~’ . $group_compare_value . ‘~i’, $_SERVER[‘HTTP_USER_AGENT’]);
}