apply_filters( 'ep_comment_search_fields', $search_fields, $query_vars ) → {array}
Filter default comment search fields
If you are using the weighting engine, this filter should not be used. Instead, you should use the ep_weighting_configuration_for_search filter.
Parameters:
Name | Type | Description |
---|---|---|
$search_fields |
array | Default search fields |
$query_vars |
array | WP_Comment_Query args |
- Since:
- 3.6.0
- Source:
Returns:
New defaults
- Type
- array