Filter: ep_match_phrase_boost

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

Source:
Returns:

New boost amount

Type
int