Posts

Showing posts from January 7, 2016

Display custom fields on order details page in Woocommerce

You can use WordPress function " get_post_meta " to echo out your custom field in "order-details.php" template. <?php echo get_post_meta( $order->id, 'custom-field-name', true ); ?>