WordPress at Your Fingertips
filter is not described

login_redirect filter-hook . WP 3.0.0

Filters the login redirect URL.


add_filter( 'login_redirect', 'filter_function_name_3292', 10, 3 );
function filter_function_name_3292( $redirect_to, $requested_redirect_to, $user ){
	// filter...

	return $redirect_to;
The redirect destination URL.
The requested redirect destination URL passed as a parameter.
WP_User object if login was successful, WP_Error object otherwise.


Since 3.0.0 Introduced.

Where the hook is called

In file: /wp-login.php
wp-login.php 1178
$redirect_to = apply_filters( 'login_redirect', $redirect_to, $requested_redirect_to, $user );

Where in WP core the hook is used WordPress

Usage not found.