wp_authenticate_spam_check


wp_authenticate_spam_check ( $user )

Parameters:
  • (WP_User|WP_Error|null) user WP_User or WP_Error object from a previous callback. Default null.
Returns:
  • (WP_User|WP_Error) WP_User on success, WP_Error if the user is considered a spammer.
Defined at:

Description

For Multisite blogs, checks if the authenticated user has been marked as a spammer, or if the user's primary blog has been marked as spam.

Related Functions

wp_authenticate_cookie, wp_authenticate, wp_authenticate_username_password, wp_auth_check, wp_authenticate_email_password

Top Google Results

User discussions

wpseek mobile