Custom Cookie Message

Custom Cookie Message Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 9,374 downloads
Custom Cookie Message Icon

Try plugin: Custom Cookie Message

We'll create fresh WordPress site with Custom Cookie Message installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Custom Cookie Message

License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Custom Cookie Message compatible with multilanguages and multisites.

0


0


0


0


0

updated: 4 years ago
since: 8 years ago

Description

Installing and activating the plugin will automatically make it appear with the default content and styling.

Custom cookie message is compatible with multilanguages where all you have to do is translate the strings of the cookie message as you would with any other strings. In plugins such as WPML or Polylang the cookie message strings show up just as other strings and are ready to be translated.
Custom cookie message is also compatible with multisites. The location of the message is customizable as well as the content and styling. The settings can be found under settings -> cookies.

Features

We have a list of cookies by default so the customers can delete them if they want to, and you can expand this list using this filter:

add_filter( 'default_advertising_list_filters', 'add_som_cookies_name_to_default_list' );

/**
 * To expand advertising cookies list
 * @param $default_cookies
 *
 * @return array
 */
function add_som_cookies_name_to_default_list( $default_cookies ){
    $default_cookies[] = 'cookie_name';

    return $default_cookies;
}

Default cookies list:

_ga,_gid,_hjIncludedInSample,_hjid,1P_JAR,APISID,CONSENT,HSID,NID,SAPISID,SEARCH_SAMESITE,SID,SIDCC,SSID,UULE