Created
May 25, 2022 16:34
-
-
Save greenhornet79/679939d34e1e3d284ada9838c7655bb7 to your computer and use it in GitHub Desktop.
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 | |
add_filter( 'leaky_paywall_basic_shipping_countries', 'zeen_us_and_canada_only' ); | |
function zeen_us_and_canada_only( $countries ) { | |
$new_countries = array( | |
'US' => 'United States', | |
'CA' => 'Canada' | |
); | |
return $new_countries; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment