woocommerce_after_save_address_validation

woocommerce_after_save_address_validation

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_after_save_address_validation') is found 1 times:

  • /includes/class-wc-form-handler.php line 203
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    * @param string      $address_type Type of address; 'billing' or 'shipping'.
     * @param array       $address The address fields.
     * @param WC_Customer $customer The customer object being saved.
     */
    do_action( 'woocommerce_after_save_address_validation', $user_id, $address_type, $address, $customer );
     
    if ( 0 < wc_notice_count( 'error' ) ) {
        return;
    }
     
    $customer->save();

See this hook used in plugins: