WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about logout_redirect

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-login.php apply_filters 776 /**
* 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.
*/

Hook Parameters

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