Filter: ep_search_fields

apply_filters( 'ep_search_fields', $search_fields, $args ) → {array}

Filter default post 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

$args array

WP Query arguments

Source:
Returns:

New defaults

Type
array