Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Commit

Permalink
fixes #446 by allow strings translation for customiser checkout text
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon007 committed Jul 29, 2019
1 parent 110ed50 commit b497c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hyyan/WPI/Privacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct()
$this->registerPrivacyStrings();
add_filter('woocommerce_get_privacy_policy_text', array($this, 'translatePrivacyPolicyText'), 10, 2);
add_filter( 'woocommerce_demo_store', array( $this, 'translateDemoStoreNotice' ), 10, 2 );
add_filter( 'woocommerce_get_terms_and_conditions_checkbox_text', array( $this, 'translatePrivacyPolicyText' ), 10, 1 );
add_filter( 'woocommerce_get_terms_and_conditions_checkbox_text', array( $this, 'translateText' ), 10, 1 );
}

/**
Expand Down

0 comments on commit b497c7c

Please sign in to comment.