Merge pull request #26327 from sandeshjangam/patch-1
New after order details action added
This commit is contained in:
commit
00e38b51ef
|
@ -12,7 +12,7 @@
|
|||
*
|
||||
* @see https://docs.woocommerce.com/document/template-structure/
|
||||
* @package WooCommerce\Templates
|
||||
* @version 3.7.0
|
||||
* @version 4.6.0
|
||||
*/
|
||||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
@ -101,6 +101,14 @@ if ( $show_downloads ) {
|
|||
</section>
|
||||
|
||||
<?php
|
||||
/**
|
||||
* Action hook fired after the order details.
|
||||
*
|
||||
* @since 4.4.0
|
||||
* @param WC_Order $order Order data.
|
||||
*/
|
||||
do_action( 'woocommerce_after_order_details', $order );
|
||||
|
||||
if ( $show_customer_details ) {
|
||||
wc_get_template( 'order/order-details-customer.php', array( 'order' => $order ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue