[wp-trac] [WordPress Trac] #53992: Lets add WP_User object to "registration_redirect" filter
WordPress Trac
noreply at wordpress.org
Tue Aug 24 12:28:22 UTC 2021
#53992: Lets add WP_User object to "registration_redirect" filter
-------------------------+-----------------------------
Reporter: Collizo4sky | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
I am the maintainer of Peters login redirect plugin. One of the most
request feature is to redirect users after registration based on certain
user characteristics.
Please, I want
$redirect_to = apply_filters( 'registration_redirect',
$registration_redirect );
To change to
$redirect_to = apply_filters( 'registration_redirect',
$registration_redirect, $errors );
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53992>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list