• Resolved litetim

    (@litetim)


    Hello
    Tim here from Litespeed Cache plugin.

    We have some users that are shown a banner saying something like: The Litespeed plugin does not claim to follow the Consent AP guidelines. What would we need to do for this message to dissapear from users dashboard?
    In our plugin we do not use get information for contacting users or we are not using their data for commercial purposes.

    Looking forward for a response. Alternatively we can talk over a ticket. Send an email to support at litespeedtech.com and ask to be assigned to a developer + send this topic link.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Hi @litetim,

    The Consent API does not determine whether a plugin requires consent; it only verifies if the plugin declares itself as compatible. This approach encourages developers to use the API when visitor tracking occurs, such as with embedded YouTube videos. If no tracking takes place, simply declaring compatibility is sufficient.

    So in your case, you can just add to the core PHP file:

    $plugin = plugin_basename(__FILE__);
    add_filter("wp_consent_api_registered_$plugin", '__return_true');

    This informs the Consent API that your plugin is compatible.

    Thread Starter litetim

    (@litetim)

    Hmmm
    Thank you! 🙂 We will add the code in our plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘LiteSpeed Cache’ is closed to new replies.