Filter: ep_{$indexable_slug}_formatted_args_query

apply_filters( 'ep_{$indexable_slug}_formatted_args_query', $query, $query_vars, $search_text, $search_fields ) → {array}

Filter formatted Elasticsearch query (only contains query part)

Parameters:
Name Type Description
$query array

Current query

$query_vars array

Query variables

$search_text string

Search text

$search_fields array

Search fields

Since:
  • 4.3.0
Source:
Returns:

New query

Type
array