Skip to content

Commit

Permalink
Merge pull request #88 from ivanlopez/master
Browse files Browse the repository at this point in the history
Adding ep_search_fields filter for adding custom search fields
  • Loading branch information
tlovett1 committed Sep 4, 2014
2 parents 2bd0b89 + 7aa3942 commit 8d48720
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/class-ep-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,8 @@ public function format_args( $args ) {
}
}

$search_fields = apply_filters( 'ep_search_fields', $search_fields );

$query = array(
'bool' => array(
'must' => array(
Expand Down

0 comments on commit 8d48720

Please sign in to comment.