woocommerce_customer_save_address, $user_id, $address_type, $address, $customer

woocommerce_customer_save_address, $user_id, $address_type, $address, $customer

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_customer_save_address, $user_id, $address_type, $address, $customer') is found 1 times:

  • /includes/class-wc-form-handler.php line 289

    * @param string $address_type Type of address; ‘billing’ or ‘shipping’.
    * @param array $address The address fields. Since 9.8.0.
    * @param WC_Customer $customer The customer object being saved. Since 9.8.0.
    */
    do_action( ‘woocommerce_customer_save_address’, $user_id, $address_type, $address, $customer );

    if ( 0 < wc_notice_count( 'error' ) ) { return; } wc_add_notice( __( 'Address changed successfully.', 'woocommerce' ) ); [/php]