woocommerce_shortcode_order_tracking_order_id

woocommerce_shortcode_order_tracking_order_id

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_shortcode_order_tracking_order_id') is found 1 times:

  • /includes/shortcodes/class-wc-shortcode-order-tracking.php line 52
    				wc_print_notice( __( 'Please enter a valid order ID', 'woocommerce' ), 'error' );
    			} elseif ( ! $order_email ) {
    				wc_print_notice( __( 'Please enter a valid email address', 'woocommerce' ), 'error' );
    			} 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(
    

See this hook used in plugins: