• sloelite

    (@sloelite)


    Hello there,

    i am hoping you can give me a little help with your plugin.
    I tried a lot of them and this is my top choise.

    I am using only google analytics cookies so i put my code in script blocking from <script> to </script>.

    I am not sure where i need to put that cn_cookies_accepted(), in what php file. In functions.php i already tried to add it but there was error. Do i need to add something else with that code or put in in footer.php maybe ?

    I am little lost here. Any help appreciated.

    Best regards.

Viewing 1 replies (of 1 total)
  • Thread Starter sloelite

    (@sloelite)

    Usage:
    If you’d like to code a functionality depending on the cookie notice value use the function below:

    if ( function_exists(‘cn_cookies_accepted’) && cn_cookies_accepted() ) { // Your third-party non functional code here }

    I found this code but still no effect, because it is not in the right spot.

    Where i need to put this code ?
    Anybody ?

    Thanks.

Viewing 1 replies (of 1 total)

The topic ‘cn_cookies_accepted()’ is closed to new replies.