Automattic\WooCommerce\Blocks\BlockTypes
ProductCollection::get_queries_by_applied_filters()
Return queries that are generated by query args.
Метод класса: ProductCollection{}
Хуков нет.
Возвращает
Массив
.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_queries_by_applied_filters();
Код ProductCollection::get_queries_by_applied_filters() ProductCollection::get queries by applied filters WC 9.4.2
private function get_queries_by_applied_filters() { return array( 'price_filter' => $this->get_filter_by_price_query(), 'attributes_filter' => $this->get_filter_by_attributes_query(), 'stock_status_filter' => $this->get_filter_by_stock_status_query(), 'rating_filter' => $this->get_filter_by_rating_query(), ); }