I am trying to customize a signup process for our MultiSite Network I need to be able to assign levels based on a choice at signup.
My thought is to add a field (hidden or otherwise) that holds the chosen level during signup, and assign that to the registering user somehow, (via meta?) and have that passed along when creating site. I assume there should be a way as their username and email is passed to the database right?
Then when they activate their new site via activation link email, I could run a custom function, (there must be a hook for after site creation) that would grab that meta value I passed along use it in a custom function post activation.
Does this make sense? Thank you for any input!
I know it’s a very old question, but I had the same issue and this was never resolved so I thought I’d post a solution. I found the answer in a different topic here on WPSE.
You only have to use the filter
add_signup_meta
.