After a long conversation with ChatGPT, I believe I have (in theory) the basics down.
There are some action events I could hook:
For early intervention
- signup_user – the earliest point
- after_signup_user – a little later, when the activation link has been sent
There were two hooks mentioned that I’m less sure of (will edit answer when I have learned more)
- wpmu_activate_user – I’m guessing this is when the activation link is clicked
- wpmu_signup_user_notification – not sure at all about this one, but it might be a bit later for me
However, we also talked about a filter that might be good – validate_user_signup
, which would catch things soonest and prevent junk data from ever entering the database to start with.
Edit: Upon further conversation, bp_signup_validate
came up as a confirmed BuddyPress event trigger, which might also prove useful. It seems to fire around the same time as signup_user during the form validation phase.
Related Posts:
- Is it possible to remove username field from the registration page? If so, how?
- users table – user_name vs. nicename
- Can I hook into user registration *before* a user is created?
- How to limit user registration to a specific set of domains?
- How do I create a user using the new JSON api in 4.7?
- Insert “New User” and update/set meta data at once
- Send automatic email to user after wp_create_user
- How to prevent certain usernames from being registered?
- How to disable or protect against disposable email accounts?
- Advice on setting up a site with front end registration
- How to add a description to the user name input field in the registration form?
- Creating a Closed WordPress Community Using Referral Codes
- How to add a checkbox to registration and user profile?
- wp_create_user hook
- White spaces in username give 404 on author page
- Password field (and confirmation) showing up twice on registration
- auto assign sequence base username while registration
- How to disable user registration for the default subscriber user role?
- How can I find users that didn’t set a password?
- How to allow more than one registered user to have the same email?
- Send custom signup approval email to different Administrators selectively
- After e-junkie payment, send a http post to register user automatically?
- Email confirmation in user registration form without a plugin
- How to add additional information to a user on user creation?
- How to allow wordpress to create username with symbols like +
- Invalid key on activation and password reset
- Where are people registering on my website?
- How can I have user registration verify a whether a new user is listed in a table of pre-approved users?
- Mobile User Registration
- Conditionally registering users
- WordPress Register Form
- Creating custom registration and login link in wordpress
- Adding register & login in WordPress website
- Adding register & login at top right corner
- How can I disable all client side new accounts without disabling new user accounts?
- Register users without confirmation
- Unique registration for new writers to sign up
- Include “registration.php” for custom registration form?
- can registration be enabled programatically?
- register user only with specific Host name
- Generate long hashed user ID
- Disable New User Registration Email sent to WordPress admin email on 4.9.5
- my custom css file downloads then it STOPS!
- Filter for users on custom post type
- Registration area + reserved area
- I want to add a tax-ID field in registration form and upon submission, perform a lookup by tax-ID
- Please suggest me some plugins in WordPress networking
- wordpress – user registration ( signup registration )
- not sending correct link to set the password in registration email [closed]
- Disable password limitations
- How to integrate CAPTCHA on register page? [closed]
- New register email notification sending some fields blank on site admin emai id
- Profile picture in registration form WordPress [closed]
- Controller functionality – User not logged in/ redirect to registration page (not wp_login)
- Register multiple users in one form
- Register through url
- loading custom registration template
- Add ‘first name’, ‘last name’, ‘date of birth’ and ‘terms and conditions’ to register fields?
- How to show password fields on registration form w/o plugins
- Is there any way to not require email address or disable notification upon setting up a member?
- I want to remove the http:// that is added automaticly on the user profile adress
- Why is wp_new_user_notification not working?
- How to add user registration and signup in WordPress and create members only page?
- Single Sign On or Bridge with in the WordPress WebSites?
- Wikipedia – CMS
- remove (error:) from registration errors woocommerce
- signup_user() throws fatal error
- Action Hook that fires function upon registration at Woocommerce checkout
- Redirection after registration
- My new website registration error
- Registration – website crashes, error 403
- I want to give every new registering user a unique key apart from password field for external use
- Is it possible to remove the password field in the registration page in woocommerce?
- Send a password to a user who has just registered for a member area
- The requested URL /wordpress/register/ was not found on this server
- I have restricted the username to numerical format but not able to integrate the same with PeepSo plugin
- How to hide username on wordpress registration?
- Custom Registration with Select and Upload function
- Macros for WordPress, creating subdomains out of registrations for current domain
- How to make user to logged into website & redirect to homepage after successful registration?
- generate an auto incremented id number when a new user is registered
- Remove wp-login link from auto generated wordpress’s email
- Multisite/Network What file to edit to change the “new blog” registration text
- How do spam users register while I’ve only enabled registration by Gmail via Janrain?
- Wrong user registration date in wordpress
- What hooks, actions or filters i can use to customize wordpress registration page and form?
- Can email address be used as user name?
- Website visible only to Registered users (non wp-admin)
- Plugin recommendation for directory site [closed]
- Fields in register page is pre-filled out with name and email
- Login to comment: not just user and email
- Limit username to specific characters (A-Z and 0-9)
- Group users by meta_value
- Run custom validation only if all other wordpress registration form validation was successful
- I want to set the shipping_first_name metadata value to match the first_name metadata value for a User on registration using a function
- Disable Email Register form
- Who among the registered users visited that page?
- Adding rows when new user is created
- Include New Meta Field In New User Registration Email
- Is it possible to find out the address of the custom registration page?