[wp-trac] [WordPress Trac] #12705: Suggest add new filter to wp_insert_user()

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 25 13:59:20 UTC 2010


#12705: Suggest add new filter to wp_insert_user()
------------------------------+---------------------------------------------
 Reporter:  nkucyd@…          |       Owner:       
     Type:  feature request   |      Status:  new  
 Priority:  high              |   Milestone:  2.9.3
Component:  General           |     Version:       
 Severity:  normal            |    Keywords:       
------------------------------+---------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12705>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list