Filter hook 'logout_redirect'

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

Description

Filters the log out redirect URL.

Occurrences

Filename Line Number
wp-login.php 823

Parameters

Type Name Description
string $redirect_to The redirect destination URL.
string $requested_redirect_to The requested redirect destination URL passed as a parameter.
WP_User $user The WP_User object for the user that's logging out.

PHP Doc

/**
		 * Filters the log out redirect URL.
		 *
		 * @since 4.2.0
		 *
		 * @param string  $redirect_to           The redirect destination URL.
		 * @param string  $requested_redirect_to The requested redirect destination URL passed as a parameter.
		 * @param WP_User $user                  The WP_User object for the user that's logging out.
		 */