Created
September 26, 2014 20:03
-
-
Save zachskaggs/1eb33e4afb2ad2384ecf to your computer and use it in GitHub Desktop.
Update ninja forms CC field labels
This file contains 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 | |
function ninja_forms_credit_card_number_desc_change_func ( $string ) { | |
$string = 'change this'; | |
return $string; | |
} | |
function ninja_forms_credit_card_number_label_change_func ( $string ) { | |
$string = 'change this'; | |
return $string; | |
} | |
function ninja_forms_credit_card_cvc_desc_change_func ( $string ) { | |
$string = 'change this'; | |
return $string; | |
} | |
function ninja_forms_credit_card_cvc_label_change_func ( $string ) { | |
$string = 'change this'; | |
return $string; | |
} | |
function ninja_forms_credit_card_name_desc_change_func ( $string ) { | |
$string = 'change this'; | |
return $string; | |
} | |
function ninja_forms_credit_card_name_label_change_func ( $string ) { | |
$string = 'change this'; | |
return $string; | |
} | |
function ninja_forms_credit_card_exp_month_desc_change_func ( $string ) { | |
$string = 'change this'; | |
return $string; | |
} | |
function ninja_forms_credit_card_exp_month_label_change_func ( $string ) { | |
$string = 'change this'; | |
return $string; | |
} | |
function ninja_forms_credit_card_exp_year_desc_change_func ( $string ) { | |
$string = 'change this'; | |
return $string; | |
} | |
function ninja_forms_credit_card_exp_year_label_change_func ( $string ) { | |
$string = 'change this'; | |
return $string; | |
} | |
add_filter( 'ninja_forms_credit_card_number_desc', 'ninja_forms_credit_card_number_desc_change_func' ); | |
add_filter( 'ninja_forms_credit_card_number_label', 'ninja_forms_credit_card_number_label_change_func' ); | |
add_filter( 'ninja_forms_credit_card_cvc_desc', 'ninja_forms_credit_card_cvc_desc_change_func' ); | |
add_filter( 'ninja_forms_credit_card_cvc_label', 'ninja_forms_credit_card_cvc_label_change_func' ); | |
add_filter( 'ninja_forms_credit_card_name_desc', 'ninja_forms_credit_card_name_desc_change_func' ); | |
add_filter( 'ninja_forms_credit_card_name_label', 'ninja_forms_credit_card_name_label_change_func' ); | |
add_filter( 'ninja_forms_credit_card_exp_month_desc', 'ninja_forms_credit_card_exp_month_desc_change_func' ); | |
add_filter( 'ninja_forms_credit_card_exp_month_label', 'ninja_forms_credit_card_exp_month_label_change_func' ); | |
add_filter( 'ninja_forms_credit_card_exp_year_desc', 'ninja_forms_credit_card_exp_year_desc_change_func' ); | |
add_filter( 'ninja_forms_credit_card_exp_year_label', 'ninja_forms_credit_card_exp_year_label_change_func' ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment