woocommerce_track_order

woocommerce_track_order

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_track_order') is found 1 times:

  • /includes/shortcodes/class-wc-shortcode-order-tracking.php line 55
    			} else {
    				$order = wc_get_order( apply_filters( 'woocommerce_shortcode_order_tracking_order_id', $order_id ) );
    
    				if ( $order && $order->get_id() && is_a( $order, 'WC_Order' ) && strtolower( $order->get_billing_email() ) === strtolower( $order_email ) ) {
    					do_action( 'woocommerce_track_order', $order->get_id() );
    					wc_get_template(
    						'order/tracking.php',
    						array(
    							'order' => $order,
    						)
    					);