On this page
apply_filters( 'check_is_user_spammed', bool $spammed, WP_User $user )
Filters whether the user has been marked as a spammer.
Parameters
$spammedbool-
Whether the user is considered a spammer.
$userWP_User-
User to check against.
Source
File: wp-includes/user.php. View all references
$spammed = apply_filters( 'check_is_user_spammed', is_user_spammy( $user ), $user );
Related
Used By
| Used By | Description |
|---|---|
| wp_authenticate_spam_check() wp-includes/user.php | 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. |
Changelog
| Version | Description |
|---|---|
| 3.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/check_is_user_spammed