过滤注销URL。
原型
apply_filters( 'logout_url', string $logout_url, string $redirect )
参数
$logout_url
(string)
HTML编码的注销URL。
$redirect
(string)
注销时重定向到的路径。
源文件
路径:wp-includes/general-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/logout_url/