Skip to content

Instantly share code, notes, and snippets.

@vovafeldman

vovafeldman/gdpr-notice-override.php Secret

Last active May 23, 2018
Embed
What would you like to do?
<?php
my_freemius()->override_i18n( array(
// Single product GDPR opt-in.
'thank-you-for-using-product-and-its-addons' => 'Thank you so much for using %s and its add-ons!',
'thank-you-for-using-product' => 'Thank you so much for using %s!',
'already-opted-in-to-product-usage-tracking' => "You've already opted-in to our usage-tracking, which helps us keep improving the %s.",
// Multi-product GDPR opt-in.
'thank-you-for-using-products' => 'Thank you so much for using our products!',
'already-opted-in-to-products-usage-tracking' => "You've already opted-in to our usage-tracking, which helps us keep improving them.",
'product-and-its-addons' => '%s and its add-ons',
// GDPR explanation.
'due-to-gdpr-compliance-requirements' => 'Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard 🙂',
'contact-for-updates' => "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:",
// Opt-in action.
'yes' => 'Yes',
'send-updates' => 'send me security & feature updates, educational content and offers.',
// Opt-out action.
'no' => 'No',
'do-not-send-updates' => 'do %sNOT%s send me security & feature updates, educational content and offers.',
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment