Filter: ep_prepare_term_meta_allowed_protected_keys

apply_filters( 'ep_prepare_term_meta_allowed_protected_keys', $allowed_protected_keys, $term_id ) → {array}

Filter index-able private meta

Allows for specifying private meta keys that may be indexed in the same manner as public meta keys.

Parameters:
Name Type Description
$allowed_protected_keys array

Array of index-able private meta keys.

$term_id int

Term ID.

Since:
  • 3.4
Source:
Returns:

New meta keys

Type
array