Use order->get_id instead of undefined order_id

This commit is contained in:
Boro Sitnikovski 2017-08-31 16:25:35 +02:00
parent 1a8a16c79c
commit fef2aabadd
1 changed files with 1 additions and 1 deletions

View File

@ -42,6 +42,6 @@ if ( ! defined( 'ABSPATH' ) ) {
<?php endif; ?>
</ul>
<?php do_action( 'woocommerce_receipt_' . $order->get_payment_method(), $order_id ); ?>
<?php do_action( 'woocommerce_receipt_' . $order->get_payment_method(), $order->get_id() ); ?>
<div class="clear"></div>