Suggest add new filter to wp_insert_user()
|Reported by:||nkucyd@…||Owned by:|
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.