wp_authenticate_spam_check( WP_User|WP_Error|null $user )
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.
Parameters
Return
(WP_User|WP_Error) WP_User on success, WP_Error if the user is considered a spammer.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |