$pos = strpos($_SERVER['HTTP_HOST'],'*your website IP address here*');if ($pos === false){*plugin code here* }else{}