Action: ep_highlighting_pre_add_highlight

do_action( 'ep_highlighting_pre_add_highlight', $formatted_args, $args )

Fires before the highlighting clause is added to the Elasticsearch query

Parameters:
Name Type Description
$formatted_args array

ep_formatted_args array

$args string

WP_Query args

Since:
  • 3.5.1
Source: