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

User ID being saved.

$load_address

Type of address e.g. billing or shipping.

$address

The address fields.

$customer

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.