apply_filters( 'ep_match_phrase_boost', $boost, $search_fields, $query_vars ) → {int}
Filter boost for post match phrase query.
This filter exists to keep backwards-compatibility. Newer implementations should use ep_post_match_phrase_boost
.
Parameters:
Name | Type | Description |
---|---|---|
$boost |
int | Phrase boost |
$search_fields |
array | Search fields |
$query_vars |
array | Query variables |
Returns:
New boost amount
- Type
- int