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



username_exists ›

Since4.9.0
已弃用n/a
apply_filters( 'username_exists', $user_id, $username )
参数: (2)
  • (int|false) $user_id The user's ID on success, and false on failure.
    Required: Yes
  • (string) $username Username to check.
    Required: Yes
定义在:
文档:

Filters whether the given username exists or not.





源码

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