wpseek.com
WordPress开发者和主题制作者的搜索引擎



user_dashboard_url › WordPress过滤钩子

Since3.1.0
已弃用n/a
apply_filters( 'user_dashboard_url', $url, $user_id, $path, $scheme )
参数: (4)
  • (string) $url The complete URL including scheme and path.
    Required: Yes
  • (int) $user_id The user ID.
    Required: Yes
  • (string) $path Path relative to the URL. Blank string if no path is specified.
    Required: Yes
  • (string) $scheme Scheme to give the URL context. Accepts 'http', 'https', 'login', 'login_post', 'admin', 'relative' or null.
    Required: Yes
定义在:
文档:

Filters the dashboard URL for a user.





源码

return apply_filters( 'user_dashboard_url', $url, $user_id, $path, $scheme );