wphooks.info - make_spam_user

make_spam_user

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/includes/ms.php:
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
	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 );