Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog
POSIntegration::get_product_feed_query_args
{@inheritdoc}
Метод класса: POSIntegration{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$POSIntegration = new POSIntegration(); $POSIntegration->get_product_feed_query_args(): array;
Код POSIntegration::get_product_feed_query_args() POSIntegration::get product feed query args WC 10.5.2
public function get_product_feed_query_args(): array {
return array(
'type' => array( 'simple', 'variable', 'variation' ),
// phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_tax_query
'tax_query' => array(
array(
'taxonomy' => 'pos_product_visibility',
'field' => 'slug',
'terms' => 'pos-hidden',
'operator' => 'NOT IN',
),
),
);
}