wpseek.com
A WordPress-centric search engine for devs and theme authors



check_is_user_spammed › WordPress Filter Hooks

Since3.7.0
Deprecatedn/a
apply_filters( 'check_is_user_spammed', is_user_spammy( $user )
Parameters: (2)
  • (bool) $spammed Whether the user is considered a spammer.
    Required: Yes
  • (WP_User) $user User to check against.
    Required: Yes
Defined at:
Codex:

Filters whether the user has been marked as a spammer.





Source

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