Skip to content

Instantly share code, notes, and snippets.

@furahaclothing
Last active December 11, 2015 22:48
Show Gist options
  • Save furahaclothing/4671740 to your computer and use it in GitHub Desktop.
Save furahaclothing/4671740 to your computer and use it in GitHub Desktop.
welcart-お客様情報入力フォームの変更-function.php-
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