W3cubDocs

/WordPress

apply_filters( 'check_is_user_spammed', bool $spammed, WP_User $user )

Filters whether the user has been marked as a spammer.

Parameters

$spammed

(bool) Whether the user is considered a spammer.

$user

(WP_User) User to check against.

Source

File: wp-includes/user.php

View on Trac

Changelog

Version Description
3.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/check_is_user_spammed