Filters the registration redirect URL.
$registration_redirectstring$errorsint|WP_Errorwp-login.php:1153file scope * @since 5.9.0 Added the `$errors` parameter. * * @param string $registration_redirect The redirect destination URL. * @param int|WP_Error $errors User id if registration was successful, * WP_Error object otherwise. */ $redirect_to = apply_filters( 'registration_redirect', $registration_redirect, $errors ); login_header( __( 'Registration Form' ), wp_get_admin_notice( __( 'Register For This Site' ), array(Introduced in 3.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.