do_action( 'woocommerce_after_save_address_validation', int $user_id, string $load_address, array $address, WC_Customer $customer )

Hook: woocommerce_after_save_address_validation.

Description Description

Allow developers to add custom validation logic and throw an error to prevent save.

Parameters Parameters


User ID being saved.


Type of address e.g. billing or shipping.


The address fields.


The customer object being saved. @since 3.6.0

Top ↑

Source Source

File: includes/class-wc-form-handler.php

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.