Skip to content

Instantly share code, notes, and snippets.

@ideadude
Created April 7, 2020 03:50
Show Gist options
  • Save ideadude/2c3149821ddb8a09d4eb741226de78b6 to your computer and use it in GitHub Desktop.
Save ideadude/2c3149821ddb8a09d4eb741226de78b6 to your computer and use it in GitHub Desktop.
Force international addresses in PMPro.
<?php
// Force international addresses (include country, longer state field).
add_filter( 'pmpro_international_addresses', '__return_true' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment