Countable_Interface

Indicates that the filter can provide a list of counts of the available choices.

Table of Contents

get_choices_counts()  : array<string|int, mixed>
Return the number of choices of each indexed value based on the filtered post ids.

Methods

get_choices_counts()

Return the number of choices of each indexed value based on the filtered post ids.

public get_choices_counts(array<string|int, mixed> $post_ids[, mixed $filters = false ][, bool $prefilling = false ]) : array<string|int, mixed>
Parameters
$post_ids : array<string|int, mixed>
$filters : mixed = false
$prefilling : bool = false
Return values
array<string|int, mixed>

Search results