On this page
apply_filters( 'logout_url', string $logout_url, string $redirect )
Filters the logout URL.
Parameters
$logout_urlstring-
The HTML-encoded logout URL.
$redirectstring-
Path to redirect to on logout.
More Information
This filter is applied to the url returned by the function wp_logout_url() .
Source
File: wp-includes/general-template.php. View all references
return apply_filters( 'logout_url', $logout_url, $redirect );
Related
Used By
| Used By | Description |
|---|---|
| wp_logout_url() wp-includes/general-template.php | Retrieves the logout URL. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/logout_url