Merge pull request #5338 from ragulka/thankyou-filters
Introduce `woocommerce_thankyou_order_received_text` filter
This commit is contained in:
commit
da8015a49c
|
@ -33,7 +33,7 @@ if ( $order ) : ?>
|
|||
|
||||
<?php else : ?>
|
||||
|
||||
<p><?php _e( 'Thank you. Your order has been received.', 'woocommerce' ); ?></p>
|
||||
<p><?php echo apply_filters( 'woocommerce_thankyou_order_received_text', __( 'Thank you. Your order has been received.', 'woocommerce' ), $order ); ?></p>
|
||||
|
||||
<ul class="order_details">
|
||||
<li class="order">
|
||||
|
@ -64,6 +64,6 @@ if ( $order ) : ?>
|
|||
|
||||
<?php else : ?>
|
||||
|
||||
<p><?php _e( 'Thank you. Your order has been received.', 'woocommerce' ); ?></p>
|
||||
<p><?php echo apply_filters( 'woocommerce_thankyou_order_received_text', __( 'Thank you. Your order has been received.', 'woocommerce' ), null ); ?></p>
|
||||
|
||||
<?php endif; ?>
|
Loading…
Reference in New Issue