Forum Replies Created

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

    (@apostolism)

    Hi @rogierlankhorst,

    First of all, thank you for this exceptional plugin and your quick response. When you mentioned earlier that my code works, you made me look for it more.

    At first, I added the code in functions.php of my theme but to no luck. When I added the code as a mu-plugin and after I cleaned thoroughly the cache, it successfully ran.

    The reason is the firing sequence of WordPress hooks, plugins run before theme so my filter (in functions.php) was not applied in time. But as a mu-plugin instead, it runs before normal plugins, and before your plugin’s function site_needs_cookie_warning.

    • This reply was modified 4 years, 3 months ago by apostolism.
Viewing 1 replies (of 1 total)