Added address type to filter

It will allow to modify address fields only for selected address type
This commit is contained in:
Krzysztof Grabania 2016-10-21 15:12:45 +02:00 committed by GitHub
parent 500c68d729
commit cb059f5af0
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ class WC_Shortcode_My_Account {
wc_get_template( 'myaccount/form-edit-address.php', array(
'load_address' => $load_address,
'address' => apply_filters( 'woocommerce_address_to_edit', $address ),
'address' => apply_filters( 'woocommerce_address_to_edit', $address, $load_address ),
) );
}