ClassicPress logo
Skip to content
Filter by type:
Browse: Home / Hooks / logout_redirect

apply_filters( 'logout_redirect', string $redirect_to, string $requested_redirect_to, WP_User $user )

Filters the log out redirect URL.


Parameters

$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.


Source

File: wp-login.php

View on GitHub


Changelog

Changelog
Version Description
WP-4.2.0 Introduced.
ClassicPress Documentation • Made with ClassicPress
Privacy Policy