Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jeremyescott/aa1f66435c562edd554b3ae6622d7776 to your computer and use it in GitHub Desktop.

Select an option

Save jeremyescott/aa1f66435c562edd554b3ae6622d7776 to your computer and use it in GitHub Desktop.

Revisions

  1. jeremyescott created this gist Nov 29, 2017.
    7 changes: 7 additions & 0 deletions matador_import_location_taxonomy_field_set_state.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    /**
    * 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';
    }