woocommerce_register_post

woocommerce_register_post

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_register_post') is found 2 times:

  • /includes/wc-user-functions.php line 88
     
    		// Use WP_Error to handle registration errors.
    		$errors = new WP_Error();
    
    		do_action( 'woocommerce_register_post', $username, $email, $errors );
    
    		$errors = apply_filters( 'woocommerce_registration_errors', $errors, $username, $email );
    
    		if ( $errors->get_error_code() ) {
    			return $errors;
    		}
    
  • /src/StoreApi/Routes/V1/Checkout.php line 638
    		 * @param string $username Customer username.
    		 * @param string $user_email Customer email address.
    		 * @param \WP_Error $errors Error object.
    		 */
    		do_action( 'woocommerce_register_post', $username, $user_email, $errors );
    
    		/**
    		 * Filters registration errors before a customer account is registered.
    		 *
    		 * This hook filters registration errors. This can be used to manipulate the array of errors before
    		 * they are displayed.