edit_profile_url

过滤钩子


apply_filters( 'edit_profile_url', $url, $user_id, $scheme )
参数
  • (string)
    $url
    The complete URL including scheme and path.
    Required:
  • (int)
    $user_id
    The user ID.
    Required:
  • (string)
    $scheme
    Scheme to give the URL context. Accepts ‘http’, ‘https’, ‘login’,
    ‘login_post’, ‘admin’, ‘relative’ or null.
    Required:
定义位置
  • wp-includes/link-template.php
    , line 3931
引入
3.1.0
弃用

过滤用户的个人资料编辑器的URL。

return apply_filters( 'edit_profile_url', $url, $user_id, $scheme );