Skip to content

Commit

Permalink
Allow facet query string customization. (#1198) (#1208)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray Lee authored and Allan Collins committed Jan 21, 2019
1 parent 5336413 commit c30a95e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features/facets/facets.php
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ function ep_facets_build_query_url( $filters ) {
}
}

$query_string = apply_filters( 'ep_facet_query_string', $query_string );

return strtok( $_SERVER['REQUEST_URI'], '?' ) . ( ( ! empty( $query_string ) ) ? '?' . $query_string : '' );
}

Expand Down

0 comments on commit c30a95e

Please sign in to comment.