Automattic\WooCommerce\Internal\ProductAttributesLookup
Filterer::init
Class initialization, invoked by the DI container.
Метод класса: Filterer{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Filterer = new Filterer(); $Filterer->init( $data_store );
- $data_store(LookupDataStore) (обязательный)
- The data store to use.
Код Filterer::init() Filterer::init WC 11.2.2
final public function init( LookupDataStore $data_store ) {
$this->data_store = $data_store;
$this->lookup_table_name = $data_store->get_lookup_table_name();
}