woocommerce_registration_errors

woocommerce_registration_errors

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.9.5

apply_filters('woocommerce_registration_errors') is found 1 times:

  • /includes/wc-user-functions.php line 134
    		 * @param string $username Customer username.
    		 * @param string $user_email Customer email address.
    		 * @return \WP_Error
    		 */
    		$errors = apply_filters( 'woocommerce_registration_errors', $errors, $username, $email );
    
    		if ( is_wp_error( $errors ) && $errors->get_error_code() ) {
    			return $errors;
    		}
    
    		// Merged passed args with sanitized username, email, and password.
    

Examples using woocommerce_registration_errors