Created
January 16, 2018 09:02
-
-
Save anonymous/0de041caff67cd719dd5d12d1fda5035 to your computer and use it in GitHub Desktop.
Adding address format
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
/* Add comma to the address */ | |
add_filter( 'wpsl_address_formats', 'custom_address_formats' ); | |
function custom_address_formats( $address_formats ) { | |
$address_formats['zip_comma_state_comma_city'] = __( '(zip code), (state), (city)', 'wpsl' ); | |
return $address_formats; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment