Skip to content

Instantly share code, notes, and snippets.

@lorenzocaum
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lorenzocaum/c1fee08ff6c2a525737f to your computer and use it in GitHub Desktop.
Save lorenzocaum/c1fee08ff6c2a525737f to your computer and use it in GitHub Desktop.
How to show the full state/province names and full country names in Event Espresso 4

Add the sample code below to your child theme's functions.php file or in a site specific plugin.

<?php
//* Do NOT include the opening php tag

//* Display full state/province names and full country names
add_filter( 'FHEE__EEI_Address__state__use_abbreviation', '__return_false' );
add_filter( 'FHEE__EEI_Address__country__use_abbreviation', '__return_false' );
@lorenzocaum
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment