Support Forum › Support Forum › GDPR Cookie Compliance › The Hook does not work except if we disable plugin cache

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Premium
    Image
    February 06, 2025 @ 11:45 am

    In the plugin FAQ here :

    In the question item : “Can I use custom code or hooks with your plugin?”, you link to :
    https://wordpress.org/support/topic/conditional-php-script/

    I tried the hooks and they don’t work except if we disable the plugin cache like this :
    add_filter(‘gdpr_cookie_script_cache’, function () {
    return [];
    });

    If not the hooks never play.

    Please check if it’s a bug or add this information in the wordpress support topic (topic is closed, I can not reply there)

    Thanks

    ImageMoove Agency
    February 12, 2025 @ 10:24 am

    Hi Erwan

    Thanks for reporting this.

    We will look into it and provide an update soon.

    Hope this helps.

    ImageMoove Agency
    March 21, 2025 @ 12:22 pm

    Hi Erwan

    This is true, we’re using a script cache.
    If you try to add scripts via hook, the cache should be disabled as you seem to have done correctly on your side.

    Hope this helps.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘The Hook does not work except if we disable plugin cache’ is closed to new replies.

MooveAgency - Support Forum
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.