woocommerce_order_shipping_to_display_shipped_via хук-фильтрWC 1.0

translators: %s: method

Использование

add_filter( 'woocommerce_order_shipping_to_display_shipped_via', 'wp_kama_woocommerce_order_shipping_to_display_shipped_via_filter', 10, 2 );
function wp_kama_woocommerce_order_shipping_to_display_shipped_via_filter( $html, $that ){
	// filter...

	return $html;
}
$html
-
$that
-

Где вызывается хук

WC_Abstract_Order::get_shipping_to_display()
woocommerce_order_shipping_to_display_shipped_via
woocommerce/includes/abstracts/abstract-wc-order.php 2020
$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 );

Где используется хук в WooCommerce

Использование не найдено.