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.
Source
File: wp-includes/ms-site.php
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |