?>
					
				<article class="content">
					
					<?php 
        wcdn_get_template_content('print-content.php', array('order' => $order));
        ?>

				</article><!-- .content -->
				
			<?php 
    }
    ?>

			<?php 
    // wcdn_after_loop hook
    do_action('wcdn_after_loop');
    ?>
		
		<?php 
}
?>
		
	<?php 
// wcdn_after_content hook
do_action('wcdn_after_content');
?>

<?php 
wcdn_get_template_content('print-footer.php');
/**
 * Output the template print content
 */
function wcdn_content($order, $template_type)
{
    global $wcdn;
    wcdn_get_template_content('print-content.php', array('order' => $order, 'template_type' => $template_type));
}
/**
 * Output the template print content
 */
function wcdn_content($order, $template_type)
{
    global $wcdn;
    // Add WooCommerce hooks here to not
    // make global changes to the totals
    add_filter('woocommerce_get_order_item_totals', 'wcdn_remove_semicolon_from_totals', 10, 2);
    add_filter('woocommerce_get_order_item_totals', 'wcdn_remove_payment_method_from_totals', 20, 2);
    add_filter('woocommerce_get_order_item_totals', 'wcdn_add_refunded_order_totals', 30, 2);
    // Load the template
    wcdn_get_template_content('print-content.php', array('order' => $order, 'template_type' => $template_type));
}