apply_filters( 'registration_redirect', string $registration_redirect , int|WP_Error $errors )
Filters the registration redirect URL.
Parameters
- $registration_redirect
-
The redirect destination URL.
- $errors
-
User id if registration was successful, WP_Error object otherwise.
Source
File: wp-login.php
Changelog
| Version | Description |
|---|---|
| 5.9.0 | Added the $errors parameter. |
| 3.0.0 | Introduced. |