How do i make a WP_Query to get WC_Product_Variation with specific attribute key and attribute value?
All i know is how to get WC_Product
$all_products_query = new WP_Query( array(
'post_type' => 'product',
'post_status' => 'publish',
'posts_per_page' => '-1',
) );