wp_authenticate_spam_check ( $user )
- (WP_User|WP_Error|null) user WP_User or WP_Error object from a previous callback. Default null.
- (WP_User|WP_Error) WP_User on success, WP_Error if the user is considered a spammer.
- Introduced in WordPress: 3.7.0
- Deprecated in WordPress: —
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.