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
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

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.

Return values
array<string|int, mixed>

Search results