Print Orders






<?php _e('Processing Orders'); ?>



‘shop_order’,
‘post_status’ => ‘publish’,
‘posts_per_page’ => -1,
‘tax_query’ => array(
array(
‘taxonomy’ => ‘shop_order_status’,
‘field’ => ‘slug’,
‘terms’ => array(‘processing’)
)
)
);

$loop = new WP_Query( $args );

while ( $loop->have_posts() ) : $loop->the_post();

$order_id = $loop->post->ID;

$order = new WC_Order($order_id);

?>

Order #