apply_filters( 'ep_post_filters', Current, WP, WP ) → {array}
Filter the ES filters that will be applied to the ES query.
Although each index of the $filters
array contains the related WP Query argument,
it will be removed before applied to the ES query.
Parameters:
Name | Type | Description |
---|---|---|
Current |
array | filters |
WP |
array | Query args |
WP |
WP_Query | Query object |
Returns:
New filters
- Type
- array