do_action( 'ep_wp_query_search', $new_posts, $ep_query, $query )
Fires before returning posts from query
Pre-3.0 backwards compat
Parameters:
Name | Type | Description |
---|---|---|
$new_posts |
array | Array of posts from query |
$ep_query |
array | Raw Elasticsearch query |
$query |
WP_Query | WordPress query |