Before action for order heading in checkout form template (#22481)

* Before and After actions for order heading

To modify checkout HTML structure effectively through action.

* Remove unnecessary action.
This commit is contained in:
Sandesh 2019-01-21 20:25:16 +05:30 committed by Mike Jolley
parent 120add0bff
commit 1c4f02d2e2
1 changed files with 4 additions and 2 deletions

View File

@ -48,9 +48,11 @@ if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_requir
<?php do_action( 'woocommerce_checkout_after_customer_details' ); ?>
<?php endif; ?>
<?php do_action( 'woocommerce_checkout_before_order_review_heading' ); ?>
<h3 id="order_review_heading"><?php esc_html_e( 'Your order', 'woocommerce' ); ?></h3>
<?php do_action( 'woocommerce_checkout_before_order_review' ); ?>
<div id="order_review" class="woocommerce-checkout-review-order">