Filter_Has_Indexed_Values
Provides access to a method that can be used to get indexed values for a filter.
This trait should be added to an instance of a "Type" class.
Tags
Table of Contents
- get_indexed_values() : array<string|int, mixed>
- Get indexed values for this filter type.
Methods
get_indexed_values()
Get indexed values for this filter type.
public
get_indexed_values([array<string|int, mixed> $posts = [] ]) : array<string|int, mixed>
Parameters
- $posts : array<string|int, mixed> = []
-
The posts to look up. When empty, all values will be returned.