Skip to content

Instantly share code, notes, and snippets.

@webtoffee-git
Created February 28, 2022 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webtoffee-git/7e3b49286c9c5ade9e7d4d4691738089 to your computer and use it in GitHub Desktop.
Save webtoffee-git/7e3b49286c9c5ade9e7d4d4691738089 to your computer and use it in GitHub Desktop.
To change the character limit of privacy overview text - CookieYes | GDPR Cookie Consent Premium (https://www.webtoffee.com/product/gdpr-cookie-consent/)
<?php //do not copy this line
function wt_cli_privacy_length( $length ){
// This is the no.of characters value
// modify this as per the need
return 400;
}
add_filter('wt_cli_privacy_overview_length','wt_cli_privacy_length');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment