Last active
August 29, 2015 14:24
-
-
Save NiklasHogefjord/d04f5a0d80182b65adbb to your computer and use it in GitHub Desktop.
SecureTrading for WooCommerce - Filter the billingtelephonetype
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
/** | |
* WooCommerce - SecureTrading payment gateway | |
* Filter the billingtelephonetype sent to SecureTrading | |
* | |
**/ | |
add_filter('securetrading_billing_phone_type', 'my_securetrading_billing_phone_type'); | |
function my_securetrading_billing_phone_type( ) { | |
// Available Phone Types are H (Home), W (Work), M (Mobile) | |
return 'H'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment