apply_filters( ‘check_is_user_spammed’, bool $spammed, WP_User $user )

In this article

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

return $input_user;

Changelog

VersionDescription
3.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.