Home » Filter user consent message
Filter user consent message

SiteSEO provides a way to add custom Consent message programatically using WordPress hooks.

Hook: siteseo_cookie_message

Since: 1.0.0

Description: Let's user update the Cookie consent message

Usage:

function siteseo_extended_cookie_message($html){
    return 'My custom cookie message';
}
add_filter('siteseo_cookie_message', 'siteseo_extended_cookie_message');

Note: We suggest you use siteseo_extended_ as a prefix for every callback function, to keep things consistent and non-conflicting.

    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list