woocommerce_new_customer_username

woocommerce_new_customer_username

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_new_customer_username') is found 1 times:

  • /includes/wc-user-functions.php line 303
    	 * @param string $email         New customer email address.
    	 * @param array  $new_user_args Array of new user args, maybe including first and last names.
    	 * @param string $suffix        Append string to username to make it unique.
    	 */
    	return apply_filters( 'woocommerce_new_customer_username', $username, $email, $new_user_args, $suffix );
    }
    
    /**
     * Login a customer (set auth cookie and set global user object).
     *
     * @param int $customer_id Customer ID.