Replaced deprecated call with a substitute function.

This commit is contained in:
Peter Fabian 2020-02-03 23:09:19 +01:00
parent 248e69960b
commit f9c9498e7c
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ if ( wc_tax_enabled() ) {
<td class="label"><?php esc_html_e( 'Shipping:', 'woocommerce' ); ?></td>
<td width="1%"></td>
<td class="total">
<?php echo wc_price( $order->get_total_shipping(), array( 'currency' => $order->get_currency() ) ); // WPCS: XSS ok. ?>
<?php echo wc_price( $order->get_shipping_total(), array( 'currency' => $order->get_currency() ) ); // WPCS: XSS ok. ?>
</td>
</tr>
<?php endif; ?>