Change and/or modify the user data that is created for the user after checkout. This is useful for changing the user login, password, email, and other user data.

 * Filter new user data.
 * @param array $user_data {
 *    @type string user_login The username.
 *    @type string user_pass  The user password.
 *    @type string user_email The user email address.
 *    @type string first_name The user's first name.
 *    @type string last_name  The user's last name.
 * }
 * @return array $user_data Modified/updated user data.
apply_filters( 'pmpro_checkout_new_user_array', $user_data );



Return Value




View in Source Code

Related Articles and Recipes

Set the Member’s Display Name to Username at Membership Checkout By Kimberly Coleman

Customizing Usernames on Your Membership Site By Travis Lima

Reformat usernames to use allowed characters after checkout. By Andrew Lima