Last active
December 11, 2015 22:48
-
-
Save furahaclothing/4671740 to your computer and use it in GitHub Desktop.
welcart-お客様情報入力フォームの変更-function.php-
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
add_filter( 'usces_filter_furigana_form', 'my_filter_furigana', 10, 3); | |
add_filter( 'usces_filter_furigana_confirm_customer', 'my_filter_furigana', 10, 3); | |
add_filter( 'usces_filter_furigana_confirm_delivery', 'my_filter_furigana', 10, 3); | |
function my_filter_furigana( $furigana, $type, $values ){ | |
return ''; | |
}//*ふりがなの削除// | |
add_filter( 'usces_filter_after_zipcode', 'my_filter_after_zipcode', 10, 2); | |
function my_filter_after_zipcode( $str, $applyform ){ | |
return 'ex'; | |
} | |
add_filter( 'usces_filter_after_address1', 'my_filter_after_address1', 10, 2); | |
function my_filter_after_address1( $str, $applyform ){ | |
return 'ex'; | |
} | |
add_filter( 'usces_filter_after_address2', 'my_filter_after_address2', 10, 2); | |
function my_filter_after_address2( $str, $applyform ){ | |
return 'ex'; | |
} | |
add_filter( 'usces_filter_after_address3', 'my_filter_after_address3', 10, 2); | |
function my_filter_after_address3( $str, $applyform ){ | |
return 'ex'; | |
} | |
add_filter( 'usces_filter_after_tel', 'my_filter_after_tel', 10, 2); | |
function my_filter_after_tel( $str, $applyform ){ | |
return 'ex'; | |
} | |
add_filter( 'usces_filter_after_fax', 'my_filter_after_fax', 10, 2); | |
function my_filter_after_fax( $str, $applyform ){ | |
return 'ex'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment