Created
August 28, 2013 02:41
-
-
Save pippinsplugins/6361560 to your computer and use it in GitHub Desktop.
Modify the countries displayed on the EDD checkout From https://easydigitaldownloads.com/support/topic/country-functions/#post-86484
This file contains hidden or 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 | |
function pw_edd_Custom_countries( $countries ) { | |
$countries = array( | |
'US' => 'United States', | |
'CA' => 'Canada' | |
); | |
} | |
add_filter( 'edd_countries', 'pw_edd_Custom_countries' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment