Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to put a value from the registration form into a function


peterverkooijen
Participant

@peterverkooijen

Thanks for responding DJPaul!

I guess the hook would be this:

user_register

Runs when a user’s profile is first created. Action function argument: user ID.

Or maybe this?

register_post

Runs before a new user registration request is processed.

I have a wish list of things I need to do with input from the registration form:

1. synchronize fullname with wp_usermeta firstname + last name

2. autogenerate username/blogurl from fullname

3. add new user to the ListMessenger mailing list

They all require taking input from the registration form, processing the input and then storing the results in specific database tables. I’m trying to puzzle together one or more plugins to do that.

Skip to toolbar