Merge pull request #23538 from Mahjouba91/issue/23537
Add a woocommerce_before_thankyou hook, Fix Issue/23537
This commit is contained in:
commit
292650ee63
|
@ -22,7 +22,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
|
||||||
<div class="woocommerce-order">
|
<div class="woocommerce-order">
|
||||||
|
|
||||||
<?php if ( $order ) : ?>
|
<?php if ( $order ) :
|
||||||
|
|
||||||
|
do_action( 'woocommerce_before_thankyou', $order->get_id() ); ?>
|
||||||
|
|
||||||
<?php if ( $order->has_status( 'failed' ) ) : ?>
|
<?php if ( $order->has_status( 'failed' ) ) : ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue