Merge pull request #5338 from ragulka/thankyou-filters

Introduce `woocommerce_thankyou_order_received_text` filter
This commit is contained in:
Mike Jolley 2014-04-24 15:21:50 +01:00
commit da8015a49c
1 changed files with 2 additions and 2 deletions

View File

@ -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; ?>