WordPress at Your Fingertips
filter is not described

logout_redirect filter-hook . WP 4.2.0

Filters the log out redirect URL.


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

	return $redirect_to;
The redirect destination URL.
The requested redirect destination URL passed as a parameter.
The WP_User object for the user that's logging out.


Since 4.2.0 Introduced.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.