Automattic\WooCommerce\Internal\ProductAttributesLookup
Filterer::filtering_via_lookup_table_is_active()
Checks if the product attribute filtering via lookup table feature is enabled.
Метод класса: Filterer{}
Хуков нет.
Возвращает
true|false
.
Использование
$Filterer = new Filterer(); $Filterer->filtering_via_lookup_table_is_active();
Код Filterer::filtering_via_lookup_table_is_active() Filterer::filtering via lookup table is active WC 9.4.2
public function filtering_via_lookup_table_is_active() { return 'yes' === get_option( 'woocommerce_attribute_lookup_enabled' ); }