This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Table::is_available_fields_contains( array $fields, string $searchable_field_class )

Function that checks if the given field in the comparison table exists.


Parameters

$fields

(Required) result of get_available_fields() function.

$searchable_field_class

(Required) class name to search for.


Return

(bool)


Source

File: includes/modules/woocommerce_booster/comparison_table/view/table.php