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

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

add_filter( 'woocommerce_order_formatted_shipping_address', 'wp_kama_woocommerce_order_formatted_shipping_address_filter', 10, 2 );

/**
 * Function for `woocommerce_order_formatted_shipping_address` filter-hook.
 * 
 * @param  $raw_address 
 * @param  $that        
 *
 * @return 
 */
function wp_kama_woocommerce_order_formatted_shipping_address_filter( $raw_address, $that ){

	// filter...
	return $raw_address;
}
$raw_address
-
$that
-

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

WC_Order::get_formatted_shipping_address()
woocommerce_order_formatted_shipping_address
woocommerce/includes/class-wc-order.php 943
$raw_address = apply_filters( 'woocommerce_order_formatted_shipping_address', $raw_address, $this );

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

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