apply_filters( 'ep_facet_meta_custom_meta_values', $meta_values, $meta_key ) → {null|array}
Short-circuits the process of getting distinct meta values.
Returning a non-null value will effectively short-circuit the function.
Parameters:
Name | Type | Description |
---|---|---|
$meta_values |
null | Distinct meta values array |
$meta_key |
array | Key of the field. |
- Since:
- 4.3.0
- Source:
Returns:
Distinct meta values array or null
to keep default behavior.
- Type
- null | array