Created
July 4, 2017 18:11
-
-
Save SeanTOSCD/243504eb08c017e87f3a04a2b8853569 to your computer and use it in GitHub Desktop.
EDD PayPal Locale Code
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 // DO NOT COPY THIS LINE | |
function sd_paypal_locale_code( $paypal_args ) { | |
// replace fr_XC with the Locale Code you need | |
// https://developer.paypal.com/docs/classic/api/locale_codes/#supported-locale-codes | |
$paypal_args['lc'] = 'fr_XC'; | |
return $paypal_args; | |
} | |
add_filter( 'edd_paypal_redirect_args', 'sd_paypal_locale_code' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment