On this page
do_action( 'make_spam_user', int $user_id )
Fires after the user is marked as a SPAM user.
Parameters
$user_idint-
ID of the user marked as SPAM.
Source
File: wp-includes/user.php. View all references
do_action( 'make_spam_user', $user_id );
Related
Used By
| Used By | Description |
|---|---|
| update_user_status() wp-includes/ms-deprecated.php | Update the status of a user in the database. |
| wp_insert_user() wp-includes/user.php | Inserts a user into the database. |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/make_spam_user