WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

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

Substitute address parts into the string.

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

add_filter( 'woocommerce_formatted_address_replacements', 'filter_function_name_9622', 10, 2 );
function filter_function_name_9622( $array, $args ){
	// filter...

	return $array;
}
$array
-
$args
-

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

WC_Countries::get_formatted_address()
woocommerce_formatted_address_replacements
woocommerce/includes/class-wc-countries.php 561-587
apply_filters(
	'woocommerce_formatted_address_replacements',
	array(
		'{first_name}'       => $args['first_name'],
		'{last_name}'        => $args['last_name'],
		'{name}'             => $args['first_name'] . ' ' . $args['last_name'],
		'{company}'          => $args['company'],
		'{address_1}'        => $args['address_1'],
		'{address_2}'        => $args['address_2'],
		'{city}'             => $args['city'],
		'{state}'            => $full_state,
		'{postcode}'         => $args['postcode'],
		'{country}'          => $full_country,
		'{first_name_upper}' => wc_strtoupper( $args['first_name'] ),
		'{last_name_upper}'  => wc_strtoupper( $args['last_name'] ),
		'{name_upper}'       => wc_strtoupper( $args['first_name'] . ' ' . $args['last_name'] ),
		'{company_upper}'    => wc_strtoupper( $args['company'] ),
		'{address_1_upper}'  => wc_strtoupper( $args['address_1'] ),
		'{address_2_upper}'  => wc_strtoupper( $args['address_2'] ),
		'{city_upper}'       => wc_strtoupper( $args['city'] ),
		'{state_upper}'      => wc_strtoupper( $full_state ),
		'{state_code}'       => wc_strtoupper( $state ),
		'{postcode_upper}'   => wc_strtoupper( $args['postcode'] ),
		'{country_upper}'    => wc_strtoupper( $full_country ),
	),
	$args
)

Где используется хук (в ядре WC)

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