Hooks::filterbar_cost_is_checked( $is_checked, TribeEventsFilterbarViewsV2_1array|int $value, TribeEventsFilterbarViewsV2_1array $current_value, string $type )

Filter the Cost filter is_checked conditional.


Parameters

$special_is_checked

(boolean) (Required) Whether a special is checked condition has been met.

$value

(<span class="TribeEventsFilterbarViewsV2_1array">TribeEventsFilterbarViewsV2_1array|int) (Required) An array or integer of the current fields value.

$current_value

(<span class="TribeEventsFilterbarViewsV2_1array">TribeEventsFilterbarViewsV2_1array) (Required) An array of the selected value(s).

$type

(string) (Required) The type of field the filter displays as.


Top ↑

Return

(boolean) Whether the cost condition is met for a given value.


Top ↑

Source

File: src/Tribe/Views/V2_1/Hooks.php

	public function filterbar_cost_is_checked( $is_checked, $value, $current_value, $type ) {
		return Cost::filter_is_checked( $is_checked, $value, $current_value, $type );
	}

Top ↑

Changelog

Changelog
Version Description
5.0.0 Introduced.