Add a WooCommerce Product Variant with attributes programmatically

Add a WooCommerce Product Variant with attributes programmatically