• Resolved kees78

    (@kees78)


    Hi,

    I used the filter as described in a mu-plugin:

    function cmplz_my_filter_site_needs_cookiewarning( $cookiewarning_required
    ) {
    	global $post;
    	
    	if ($post->ID==6612)
    
    	{
    		$cookiewarning_required = false;
    
    		define('CMPLZ_DO_NOT_BLOCK', true);
    	}
    	else{
    		$cookiewarning_required = true;
    	}
    
    	return $cookiewarning_required;
    }
    add_filter( 'cmplz_site_needs_cookiewarning', 'cmplz_my_filter_site_needs_cookiewarning' );

    However, it is not working. Is the filter still working?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Hide cookie banner on specific pages/posts not working’ is closed to new replies.