Last active
August 29, 2015 14:22
-
-
Save chrdesigner/9ed7b636d4038ced5134 to your computer and use it in GitHub Desktop.
allow AED for WooCommerce
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 | |
// allow AED for WooCommerce | |
add_filter( 'woocommerce_paypal_supported_currencies', 'paypal_aed_current' ); | |
function paypal_aed_current($currency_array) { | |
$currency_array[] = 'AED'; | |
return $currency_array; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment