email_exists

过滤钩子


apply_filters( 'email_exists', $user_id, $email )
参数
  • (int|false)
    $user_id
    The user ID associated with the email,
    or false if the email does not exist.
    Required:
  • (string)
    $email
    The email to check for existence.
    Required:
定义位置
  • wp-includes/user.php
    , line 1968
引入
5.6.0
弃用

Filters whether the given email exists.

return apply_filters( 'email_exists', $user_id, $email );