wphooks.info - make_spam_user

make_spam_user

(trunk - 5.0-alpha-42732)

The hook occurs in the following file:

wp-admin/includes/ms.php:
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
	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 );