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

The redirect destination URL.

$requested_redirect_to

The requested redirect destination URL passed as a parameter.

$user

The WP_User object for the user that's logging out.


Source

File: wp-login.php

View on GitHub


Changelog

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