Filters the logout URL.
$logout_urlstring
$redirectstring
This filter is applied to the url returned by the function wp_logout_url() .
return apply_filters( 'logout_url', $logout_url, $redirect );
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/logout_url