How to find all sites marked as spam in a WordPress multisite with Beyond Multisite?

Using the Cleanup module of Beyond Multisite we can generate a list of all the sites in a WordPress multisite, that are marked as spam (they have the spam attribute). We will do this by previewing a site deletion task, that we will not execute.

After you install and network activate the plugin, and turn on the Cleanup module, follow these steps:

  1. From the Network Admin Screen click on Dashboard -> Network Cleanup
  2. Scroll down to the Delete Sites section and set the form to these settings on the picture below:
    1. Set Attributes to Spam
    2. Set Skip previously cancelled to No
    3. Set Deletion type to Permanent deletion
    4. Set Deletion time and cancellation to No cancellation. Execute now!
  3. Click Preview Site Deletion

View all sites marked as spam

Now you see a list of all spam sites in the multisite network.

List of spammed sites in a multisite

Get Beyond Multisite - Premium WordPress Plugin