Batch Comment Spam Deletion Icon

Batch Comment Spam Deletion

By Syed Balkhi

Active Installs

1,000+

Last Updated

October 27, 2017

First Released

June 2, 2014

Download History (Last one month)


Contributors

Modifies the Empty Spam action in WordPress to process the spam deletion in batches, allowing you to delete thousands or even hundreds of thousands of spam comments at once without killing your server.

Have you found a bug or have a suggestion or improvement you’d like to submit? This plugin is available on Github and pull requests are welcome!

  1. Activate the plugin
  2. Go to Comments > Spam
  3. Use the “Empty Spam” button to clear out all spam comments

Installation Instructions

  1. Activate the plugin
  2. Go to Comments > Spam
  3. Use the “Empty Spam” button to clear out all spam comments

Can I change the number of comments deleted per batch?

Yes, there are two ways to do it.

  1. You can modify the number via a filter, like this:

    <?php
    function pw_bcsd_per_batch( $per_batch ) {

    $per_batch = 50;
    
    return $per_batch;
    

    }
    add_filter( ‘pw_bcpd_comments_per_batch’, ‘pw_bcsd_per_batch’ );

  2. You can modify it by adding a constant to your wp-config.php file:

    define( ‘PW_BCPD_PER_BATCH’, 50 );

Changelog

1.0.6

  • Fix: Delete Spam button displaying improperly
  • Tested with WordPress 4.8 and later

1.0.5

  • Fix: missing closing tag

1.0.4

  • Fix: Fatal error during batch processing

1.0.3

  • New: added the ability to change the per-batch number via the PW_BCPD_PER_BATCH constant

1.0.2

  • Fix: Undefined index error

1.0.1

  • Fix: The Empty Trash button was accidentally removed from the Trash page

1.0

  • First release!
<br />
<b>Warning</b>:  Undefined array key /home/ylinkin/truewp.net/wp-content/plugins/truewp-plugin-info/truewp-plugin-info.php on line 756
" width="120" height="120">

Available Versions

Version Download Type
Development Download Trunk

Plugin Info

  • Version: 1.0.6
  • Last Updated: October 27, 2017
  • Active Installs: 1,000+
  • WordPress Version: 3.6 or higher
  • Tested up to: 4.9.29
  • PHP Version: or higher
  • Tags:    
    comment comments spam

Ratings


5.0 out of 5 stars. (10 reviews)

See all reviews
Scroll to Top