woocommerce_shipping_address_map_url filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_shipping_address_map_url', 'filter_function_name_4567', 10, 2 ); function filter_function_name_4567( $url, $that ){ // filter... return $url; }
- $url
- -
- $that
- -
Where the hook is called
woocommerce_shipping_address_map_url
woocommerce/includes/class-wc-order.php 876
return apply_filters( 'woocommerce_shipping_address_map_url', 'https://maps.google.com/maps?&q=' . rawurlencode( implode( ', ', $address ) ) . '&z=16', $this );