make_spam_user WordPress Action Hook
The make_spam_user hook is used to make a user spam on your WordPress site. This hook is used when a user is suspected of spamming or if a user is reported as spam.
do_action( 'make_spam_user', int $user_id ) #
Fires after the user is marked as a SPAM user.
Parameters
- $user_id
(int)ID of the user marked as SPAM.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |