Tag Info

Hot answers tagged


You can use wp_create_user and pass necessary information like $username, $password, $email , where $email is optional. If user created successfully it will return ID of newly created user, other wise will return error object. Then update user's other information using update_user_meta.

Only top voted, non community-wiki answers of a minimum length are eligible