woocommerce_review_order_before_payment hook. #3501

This commit is contained in:
Mike Jolley 2013-07-22 18:06:03 +01:00
parent 5a3b5bf5ea
commit 7221cc1a26
1 changed files with 5 additions and 1 deletions

View File

@ -139,6 +139,8 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods();
</tbody>
</table>
<?php do_action( 'woocommerce_review_order_before_payment' ); ?>
<div id="payment">
<?php if ($woocommerce->cart->needs_payment()) : ?>
<ul class="payment_methods methods">
@ -211,4 +213,6 @@ $available_methods = $woocommerce->shipping->get_available_shipping_methods();
</div>
</div>
<?php do_action( 'woocommerce_review_order_after_payment' ); ?>
</div>