lostpassword_url

过滤钩子


apply_filters( 'lostpassword_url', $lostpassword_url, $redirect )
参数
  • (string)
    $lostpassword_url
    The lost password page URL.
    Required:
  • (string)
    $redirect
    The path to redirect to on login.
    Required:
定义位置
  • wp-includes/general-template.php
    , line 665
引入
2.8.0
弃用

过滤丢失密码的URL。

return apply_filters( 'lostpassword_url', $lostpassword_url, $redirect );