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



username_exists › WordPress过滤钩子

Since4.9.0
已弃用n/a
apply_filters( 'username_exists', $user_id, $username )
参数: (2)
  • (int|false) $user_id The user ID associated with the username, or false if the username does not exist.
    Required: Yes
  • (string) $username The username to check for existence.
    Required: Yes
定义在:
文档:

Filters whether the given username exists.





源码

return apply_filters( 'username_exists', $user_id, $username );