make_spam_blog WordPress Action Hook

The make_spam_blog hook is used to mark a blog as spam. This is typically done by a plugin or theme that detects spammy behavior on a blog. Once a blog is marked as spam, it will be hidden from public view and will only be accessible to logged-in users who have the capability to manage spam blogs.

do_action( 'make_spam_blog', int $site_id ) #

Fires when the ‘spam’ status is added to a site.


Parameters

$site_id

(int)Site ID.


Top ↑

Source

File: wp-includes/ms-site.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
MU (3.0.0)Introduced.

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.