wphooks.info - make_spam_user

make_spam_user

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-admin/includes/ms.php:
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
	if ( $pref == 'spam' ) {
		if ( $value == 1 ) {
			/**
			 * Fires after the user is marked as a SPAM user.
			 *
			 * @since 3.0.0
			 *
			 * @param int $id ID of the user marked as SPAM.
			 */
			do_action( 'make_spam_user', $id );
		} else {
			/**
			 * Fires after the user is marked as a HAM user. Opposite of SPAM.
			 *
			 * @since 3.0.0
			 *
			 * @param int $id ID of the user marked as HAM.
			 */
			do_action( 'make_ham_user', $id );