woocommerce_process_registration_errors filter-hookWC 1.0

Usage

add_filter( 'woocommerce_process_registration_errors', 'wp_kama_woocommerce_process_registration_errors_filter', 10, 4 );

/**
 * Function for `woocommerce_process_registration_errors` filter-hook.
 * 
 * @param  $validation_error 
 * @param  $username         
 * @param  $password         
 * @param  $email            
 *
 * @return 
 */
function wp_kama_woocommerce_process_registration_errors_filter( $validation_error, $username, $password, $email ){

	// filter...
	return $validation_error;
}
$validation_error
-
$username
-
$password
-
$email
-

Where the hook is called

WC_Form_Handler::process_registration()
woocommerce_process_registration_errors
woocommerce/includes/class-wc-form-handler.php 1107
$validation_error  = apply_filters( 'woocommerce_process_registration_errors', $validation_error, $username, $password, $email );

Where the hook is used in WooCommerce

Usage not found.