W3cubDocs

/WordPress

apply_filters( 'logout_url', string $logout_url, string $redirect )

Filters the logout URL.

Parameters

$logout_url

(string) The HTML-encoded logout URL.

$redirect

(string) Path to redirect to on logout.

Source

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
2.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/logout_url