Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog
POSIntegration::get_product_feed_query_args
{@inheritdoc}
Method of the class: POSIntegration{}
No Hooks.
Returns
null. Nothing (null).
Usage
$POSIntegration = new POSIntegration(); $POSIntegration->get_product_feed_query_args(): array;
POSIntegration::get_product_feed_query_args() POSIntegration::get product feed query args code WC 10.7.0
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',
),
),
);
}