WordPress at a glance
filter is not described

logout_redirect filter-hook . WP 4.2.0

Filters the log out redirect URL.

Usage

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

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

Список изменений

С версии 4.2.0 Введена.

Где вызывается хук

В файле: /wp-login.php
logout_redirect
wp-login.php 815
$redirect_to = apply_filters( 'logout_redirect', $redirect_to, $requested_redirect_to, $user );

Где используется хук в ядре WordPress

Использование не найдено.