query -> stock_status_meta_query();
$query_args['meta_query'][] = $woocommerce -> query -> visibility_meta_query();
$query_args['posts_per_page'] = $total_recent_products;
$wp_query = new WP_Query($query_args);
$c = 0;
if (have_posts()) :
while (have_posts()) :
the_post();
$c++;
$product = new woocommerce_product(get_the_ID());
?>
'_featured', 'value' => 'yes');
$query_args['meta_query'][] = $woocommerce -> query -> stock_status_meta_query();
$query_args['meta_query'][] = $woocommerce -> query -> visibility_meta_query();
$query_args['posts_per_page'] = $total_featured_products;
$wp_query = new WP_Query($query_args);
$c = 0;
if (have_posts()) :
while (have_posts()) :
the_post();
$c++;
$product = new woocommerce_product(get_the_ID());
?>