woocommerce_shortcode_products_query

woocommerce_shortcode_products_query

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_shortcode_products_query') is found 1 times:

  • /includes/shortcodes/class-wc-shortcode-products.php line 235
     
    		// Tags.
    		$this->set_tags_query_args( $query_args );
    
    		$query_args = apply_filters( 'woocommerce_shortcode_products_query', $query_args, $this->attributes, $this->type );
    
    		// Always query only IDs.
    		$query_args['fields'] = 'ids';
    
    		return $query_args;
    	}
    

See this hook used in plugins: