Counts_Provider
Helper methods used by the "sale" and "stock" filters.
Retrieve counts of possible choices and provide a filter so that results can be adjusted if needed.
Table of Contents
- get_all_choices_counts() : mixed
- get_choices_counts() : mixed
Methods
get_all_choices_counts()
public
get_all_choices_counts([array<string|int, mixed> $post_ids = [] ]) : mixed
Parameters
- $post_ids : array<string|int, mixed> = []
Tags
Return values
mixed —get_choices_counts()
public
get_choices_counts(array<string|int, mixed> $post_ids[, mixed $filters = false ][, mixed $prefilling = false ]) : mixed
Parameters
- $post_ids : array<string|int, mixed>
- $filters : mixed = false
- $prefilling : mixed = false