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

$spammed = apply_filters( 'check_is_user_spammed', is_user_spammy( $user ), $user );

Changelog

VersionDescription
3.7.0Introduced.

User Contributed Notes

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