Created
September 19, 2015 14:09
-
-
Save ErikBernskiold/0ae0ee20e5c739d4a75b to your computer and use it in GitHub Desktop.
Ilmenite Cookie Consent: Update Text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Change Cookie Consent Text | |
| */ | |
| function ilcc_change_consent_text( $text ) { | |
| $text = __( 'This is my new text that I want', 'MYTEXTDOMAIN' ); | |
| return $text; | |
| } | |
| add_filter( 'ilcc_consent_text', 'ilcc_change_consent_text' ); | |
| /** | |
| * Change Cookie Accept Button Text | |
| */ | |
| function ilcc_change_accept_text( $text ) { | |
| $text = __( 'This is my new text that I want', 'MYTEXTDOMAIN' ); | |
| return $text; | |
| } | |
| add_filter( 'ilcc_accept_text', 'ilcc_change_accept_text' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment