Opened 3 years ago

Last modified 3 years ago

#12705 new feature request

Suggest add new filter to wp_insert_user()

Reported by: nkucyd@… Owned by:
Priority: normal Milestone: Future Release
Component: Users Version:
Severity: normal Keywords:
Cc:

Description

Now, there is no way to change new registration workflow. When every attribute is valid, user registration is approved. I want to add filter to interrupt this workflow to wp_insert_user(). Such as:
in registration.php line 105
$userdata = apply_filter(filter_name, $userdata)
if( !$userdata ) return

I want to use this filter to interrupt normal registration flow.

Change History (2)

  • Component changed from General to Users
  • Milestone changed from 2.9.3 to Future Release
  • Priority changed from high to normal

There are a ton of filters in wp_insert_user() currently as it is. None get the job done?

Milestone: Point releases are for critical bugs and regressions. We're past feature freeze for 3.0. Punting to future release pending patch and consideration.

Yes, there is no filter available to interrupt registration flow. I just want a filter like this, could we consider to add it in 3.0?

Note: See TracTickets for help on using tickets.