woocommerce_order_shipping_to_display_shipped_via

woocommerce_order_shipping_to_display_shipped_via

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_order_shipping_to_display_shipped_via') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 2261
    2257
    2258
    2259
    2260
    2261
    2262
    2263
    2264
    2265
    2266
    2267
            }
        }
     
        /* translators: %s: method */
        $shipping .= apply_filters( 'woocommerce_order_shipping_to_display_shipped_via', '&nbsp;<small class="shipped_via">' . sprintf( __( 'via %s', 'woocommerce' ), $this->get_shipping_method() ) . '</small>', $this );
     
    } elseif ( $this->get_shipping_method() ) {
        $shipping = $this->get_shipping_method();
    } else {
        $shipping = __( 'Free!', 'woocommerce' );
    }

See this hook used in plugins: