Filter: ep_formatted_args_query

apply_filters( 'ep_formatted_args_query', $query, $query_vars, $search_text, $search_fields ) → {array}

Filter formatted Elasticsearch post 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:
  • 3.5.5 $search_text and $search_fields parameters added.
Source:
Returns:

New query

Type
array