woocommerce_registration_errors filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_registration_errors', 'filter_function_name_7402', 10, 3 ); function filter_function_name_7402( $errors, $username, $email ){ // filter... return $errors; }
- $errors
- -
- $username
- -
- -
Where the hook is called
woocommerce_registration_errors
woocommerce_registration_errors
woocommerce/includes/wc-user-functions.php 80
$errors = apply_filters( 'woocommerce_registration_errors', $errors, $username, $email );
woocommerce/packages/woocommerce-blocks/src/Domain/Services/CreateAccount.php 231
$errors = apply_filters( 'woocommerce_registration_errors', $errors, $username, $user_email );