<?php
$domain = "example.com"
$get_cookie_check = $_GET['view_full_site'];
if(isset($get_cookie_check)){
if($get_cookie_check =='false'){
//unset the cookie
setcookie("mobileesp_wp_full_site", 'true', time()-3600, "/", $domain);
}
}
?>
Comments