Filter: ep_prepare_term_meta_excluded_public_keys

apply_filters( 'ep_prepare_term_meta_excluded_public_keys', $public_keys, $term_id ) → {array}

Filter non-indexed public meta

Allows for specifying public meta keys that should be excluded from the ElasticPress index.

Parameters:
Name Type Description
$public_keys array

Array of public meta keys to exclude from index.

$term_id int

Term ID.

Since:
  • 3.4
Source:
Returns:

New keys

Type
array