Skip to content

Instantly share code, notes, and snippets.

@pippinsplugins
Created August 28, 2013 02:41
Show Gist options
  • Save pippinsplugins/6361560 to your computer and use it in GitHub Desktop.
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
<?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