Filter hook 'registration_redirect'

in WP Core File wp-login.php at line 1145

Description

Filters the registration redirect URL.

Occurrences

Filename Line Number
wp-login.php 1145

Parameters

Type Name Description
string $registration_redirect The redirect destination URL.
int|WP_Error $errors User id if registration was successful, WP_Error object otherwise.

PHP Doc

/**
		 * Filters the registration redirect URL.
		 *
		 * @since 3.0.0
		 * @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.
		 */