Injecting Additional Data During Registration?
-
First, let me say that we’re really pleased with WSL so far. Clean, easy-to-follow code; great docs; straightforward ways to customize, etc, etc.
I’ve run into an issue, though, while using WSL with our custom invitation-only buddypress network. We have an invite system (custom plugin) whereby users are emailed a link that allows them to start the registration process (no invite, no reg).
We require a valid email address as part of registration, which is not a signup barrier when users register with the default WP form since we already know their email from the invite and can just fill in that field. But, when using WSL to register via services like Twitter users get stopped by the Bouncer and asked to re-enter their email. Yuck.
I combed the docs and stepped through the code but I didn’t see a hook or pluggible function that would allow me to programmatically inject the user’s already-verified email address for those services which don’t provide it. The
wsl_process_login_get_user_data_start()
hook is *almost* the right thing but it doesn’t allow me to pass in any extra data or set defaults. Did I miss something? How can I do this?Thanks in advance for any replies.
–ubu
- The topic ‘Injecting Additional Data During Registration?’ is closed to new replies.