Thread Starter
flen
(@flen)
I have set the code as below
add_action('wp_footer','cli_set_expire',20);
function cli_set_expire()
{
if(class_exists('Cookie_Law_Info_Public')) //first time visit and class exists
{
?>
<script type="text/javascript">
CLI_ACCEPT_COOKIE_EXPIRE = 1;
</script>
<?php
}
}
Thread Starter
flen
(@flen)
Hi,
Thank you for quick reply
so after adding 1 day ,will cookie bar show again after 1 day even after decline or accept?