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.


Top ↑

Source

File: wp-includes/user.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More