woocommerce_shipping_address_map_url_parts filter-hook . WC 1.0
Remove name and company before generate the Google Maps URL.
Usage
add_filter( 'woocommerce_shipping_address_map_url_parts', 'filter_function_name_8487', 10, 2 ); function filter_function_name_8487( $address, $that ){ // filter... return $address; }
- $address
- -
- $that
- -
Where the hook is called
woocommerce_shipping_address_map_url_parts
woocommerce/includes/class-wc-order.php 874
$address = apply_filters( 'woocommerce_shipping_address_map_url_parts', $address, $this );