WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/is user spammy

Contents

Description

Check to see whether a user is marked as a spammer, based on username

Usage

<?php is_user_spammy$username ); ?>

Parameters

$username
(string) (optional)
Default: 0

Return Values

(bool) 

Source File

is_user_spammy() is located in wp-includes/ms-functions.php