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

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

add_filter( 'woocommerce_shipping_address_map_url', 'wp_kama_woocommerce_shipping_address_map_url_filter', 10, 2 );

/**
 * Function for `woocommerce_shipping_address_map_url` filter-hook.
 * 
 * @param  $url  
 * @param  $that 
 *
 * @return 
 */
function wp_kama_woocommerce_shipping_address_map_url_filter( $url, $that ){

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

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

WC_Order::get_shipping_address_map_url()
woocommerce_shipping_address_map_url
woocommerce/includes/class-wc-order.php 953
return apply_filters( 'woocommerce_shipping_address_map_url', 'https://maps.google.com/maps?&q=' . rawurlencode( implode( ', ', $address ) ) . '&z=16', $this );

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

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