将HTML链接过滤到“注册”或“管理”页面。
原型
apply_filters( 'register', string $link )
描述
如果已登录,则会将用户发送到管理页面;如果启用并注销,则会将用户发送到注册页面。
参数
$link
(string)
注册或管理页面链接的HTML代码。
源文件
路径:wp-includes/general-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/register/