Created
November 29, 2017 19:25
-
-
Save jeremyescott/aa1f66435c562edd554b3ae6622d7776 to your computer and use it in GitHub Desktop.
Change the location field that sets the locations taxonomy.
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
/** | |
* Matador Location Taxonomy as "State" | |
*/ | |
add_filter( 'matador_import_location_taxonomy_field', 'matador_import_location_taxonomy_field_set_state' ); | |
function matador_import_location_taxonomy_field_set_state( $field ) { | |
return 'state'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment