Zero Spam for WordPress


Protect your WordPress website seamlessly with Zero Spam for WordPress! Eliminate spam and malicious attacks that can harm your online presence. Our plugin integrates effortlessly with Zero Spam, Stop Forum Spam, and Project Honeypot to offer a strong defense system.

Rest easy knowing that we utilize multiple detection methods to swiftly identify and halt potential threats. Whether it’s pesky spam, devious trolls, or cunning hackers, Zero Spam is here to protect your website.

Worry-free, Powerful Protection at Your Fingertips

  • No captchas or moderation queues — no longer a admin’s problem.
  • Our system dynamically blocks threats, keeping your site safe.
  • Integration with global IP reputation providers for enhanced security.
  • Block IPs temporarily or permanently, keep unwanted visitors out.
  • Geolocation tracks origins of threats, providing valuable insights.
  • Ability to block countries, regions, zip/postal codes & cities.
  • Utilize splorp’s Comment Blacklist to strengthen your disallowed list.
  • Block disposable & malicious email effortlessly with disposable.
  • Multiple techniques, including the renowned solution by David Walsh.

Seamlessly integrates with popular plugins including:

With Zero Spam for WordPress, you not only get exceptional protection but also a reliable support that ensures your peace of mind.

Enhance Detection with Optional 3rd-Party Integrations

Zero Spam for WordPress can integrate optional services for enhanced spam detection. Before using these, we recommend reviewing their terms and privacy policies.

Additionally, you have the option to contribute to Zero Spam’s improvement by enabling the sharing of detection information. For further information on the shared data, kindly refer to our FAQ.


  • Dashboard
  • Log
  • Settings
  • Add blocked IP address
  • Add blocked location


  1. Upload the entire zero-spam folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins screen (Plugins > Installed Plugins).
  3. Visit the plugin setting to configure as needed (Settings > Zero Spam).

For more information & developer documentation, see the wiki.


Does Zero Spam for WordPress block user IPs?

Not on its own. Zero Spam for WordPress does not automatically block IP addresses. If a visitor is blocked, it could be due to manual blocking by the site admin or their presence in IP blacklists such as Stop Forum Spam, Project Honeypot, or the Zero Spam.

In the event that a legitimate user is blocked, refer to the Log (Admin > Dashboard > Zero Spam > Log) for further details on the reason behind the block. You have the flexibility to adjust the strictness of the 3rd-party blacklist checks or disable them if your users are prone to being flagged as spam or malicious.

Does Zero Spam for WordPress check Jetpack comments?

No, it doesn’t. Zero Spam for WordPress does not have integration with Jetpack. If you have any inquiries regarding this, please refer to for more details.

How do I boost performance of Zero Spam for WordPress?

Enable caching for optimal performance. Enabling caching is highly recommended as it helps prevent repetitive calls to third-party APIs and access checks during each page visit.

To further optimize performance, you can adjust the cache and API timeout settings in the admin panel based on your server specifications and specific requirements.

Does Zero Spam support WP-CLI commands?

  • wp zerospam autoconfigure — Auto-configures with recommended settings.
  • wp zerospam settings — Displays all plugin settings.
  • wp zerospam set --[SETTING_KEY]=[VALUE] — Updates a plugin setting.

Are you getting a `ftp_fget` PHP warning?

Some hosts have issues with they way they access files. If you’re seeing a ftp_fget PHP notice, setting the FS_METHOD constant to direct in wp-config.php above the line /* That's all, stop editing! Happy Pressing. */ should solve the problem:

define('FS_METHOD', 'direct');

If hosting with Pantheon, see their known issues page for more information and what to do to resolve it with their $_ENV['PANTHEON_ENVIRONMENT'] variable check.

Where do I report security bugs found in this plugin?

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.


22 May 2023 1 reply
The plugin seems to be highly effective against combating spam comments, registrations etc. Support team is very fast in replying to support requests, going above and beyond to develop solutions for customers. I recommend.
13 December 2022 3 replies
Has been my go-to anti-spam plugin for quite some time. I’ve used many of the techniques individually on many sites. Having them rolled up into a single plugin is just amazing! All 1-star reviews that say it doesn’t work, don’t have it setup/integrated properly, which can take a little bit of effort. There is no magical anti-spam protection that instantly happens when you activate it. BUT, once you do implement a few of the techniques this plugin provides, spam becomes a thing of the past. Prior to v5.2.15, would have been an easy 5-star rating. Because of v5.2.15, I regrettably have to give it 1-star review. Plugin author: This is an ANTI-SPAM plugin, NOT a Ukraine support plugin. If you want to show your support for Ukraine, make a plugin for it. DON’T ruin a useful plugin by injecting unrelated political beliefs it into it. Blocking spam is blocking spam. Supporting Ukraine is supporting Ukraine. Mix them together and you just end up ruining both. v5.2.15 feat(ukraine): we’ll no longer provide protection for .ru, .su, and .by domains & will display a banner of support for the ukrainian people on those sites – united with ukraine Personal Note to the Plugin Author: It’s your plugin, you can do what you want, but here’s an important question: Is this plugin for YOU (the plugin author) to broadcast political beliefs, or for US (the plugin users) to block spam? Between those two, which one is more important? Pick one and go with it. If you pick personal political beliefs over plugin user functionality then it’s only a matter of time until someone takes all of your hard work on this plugin, removes your political beliefs, releases it as a new plugin, and surpasses you in # of installs, making this plugin obsolete. You will be your own undoing. Would hate to see that happen to an otherwise WONDERFUL & AMAZING plugin! Remove personal politics from this plugin, and my review will change to the 5-star review that it deserves.
06 September 2022
This plugin undergoes a UI change every few months, and continues to make the same mistake – it doesn’t remember what the previous settings were on ‘big’ updates. Which is a huge dev failure. If you have it on multiple sites, suddenly your contact form is getting spammed to high heaven again. Then you have to go back in, and redo the settings.
09 August 2022 1 reply
Plugin keeps telling me to upgrade even after I dismiss the notice.
Read all 136 reviews

Contributors & Developers

“Zero Spam for WordPress” is open source software. The following people have contributed to this plugin.


“Zero Spam for WordPress” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Zero Spam for WordPress” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • fix(bypass vulnerability): see


  • fix(missing tables): fix for missing tables error on multisites, #377


  • fix(jquery): fix for jquery not found error when jquery is loaded with defer
  • chore(splorp): updated the slorp blacklist


  • fix(zero spam): fix for error in the zero spam api


  • feat(patchstack): integrating patchstack faqs
  • fix(coding standards): updates to better comply with wp coding standards


  • fix(vulnerability): fix for bypass using .ico in url or adjusting the x-forwarded-for header


  • fix(david walsh): fix for jquery not defined error, related to the zerospamdavidwalsh method, resolves #359


  • feat(profilepress): added support for profilepress registrations


  • fix(david walsh): fix for missing david walsh dependency, resolves #345


  • fix(admin): fix for php notice about missing database_query_arguments
  • fix(whitelist): fix for whitelisted ips not getting triggered on comments, resolves #350


  • fix(security): fixed sql injection vulnerability in the zero spam admin log table query


  • refactor(project honeypot): resolves #344, added additional check & debug info for ip type support
  • fix(wpforms): resolves #343, fix for jquery dependency
  • fix(registration): resolves #342, fix for failed registration output
  • fix(php8): resolves #341, fix for php8+ compatibility issue


  • fix(emojis): fix for fatal error when emojis are disabled


  • feat(ipbase): added support for
  • feat(security): added additional advanced security protections


  • feat(dashboard): dashboard ui enhancements
  • perf(sharing): performance improvements when sharing data
  • fix(memberpress): removed memberpress support, they made fundamental changes to their plugin that’s ganna require a rework
  • fix(uninstall): fix issue where the plugin couldn’t be deleted
  • fix(cli): resolves #33
  • chore(charts): updated chart.js to 3.9.1


  • chore(admin): updated the after-activation message
  • chore(spam): updated splorp’s wordpress comment blacklist
  • feat(givewp): enhanced security using the david walsh method on legacy forms
  • feat(admin): major ui enhancements
  • feat(gravityforms): adds support for gravity forms
  • feat(reports): improved error logs
  • feat(wpdiscuz): resolves #327, added support for wpdiscuz
  • feat(wpforms): now supports checking blocked email addresses
  • feat(email): enhanced email security checks
  • fix(double requests): issue with double checks being performed per page visit
  • fix(blocks): fix for blocked ips not getting properly blocked
  • fix(locations): fix for blocked locations not getting added/updated
  • fix(comments): fix for valid comment submissions being flagged
  • fix(admin): missing country flag in ip details modal
  • fix(woocommerce): fix for login woocommerce registrations fixed
  • fix(david walsh): fix for flagged submissions when using the david walsh technique
  • perf(misc): misc performance improvements related to 3rd-party api queries


  • fix(admin): fix issue with admin notice not dismissing properly, resolves #319


  • chore(zero spam api): updated the zero spam api to v2


  • chore(readme): documentation updates


  • fix(admin): fix for admin notice not getting dismissed when clicked, resolves #318


  • chore(readme): added 3rd-party service integration documentation to the readme
  • chore(admin): revised the admin message that’s displayed with zero spam enhanced protection is enabled, but a valid api key is not provided


  • fix(notice): removed dismiss button on initial install to ensure plugin settings are configured before use


  • feat(zero spam settings): displays dismissible notices for enhanced protection and invalid license keys
  • feat(dates): updated the admin tables to display dates based on the site settings, resolves #305
  • fix(ukraine): removed the ukraine banner


  • feat(zero spam api): now reports spam and malicious email addresses


  • fix(zero spam api): update to limit number of requests when sharing data


  • fix(woocommerce): fix for spam getting triggered during woo checkout with create account checked, resolves #313
  • refactor(zero spam api): performance improvements when sharing detections


  • feat(ukraine): we’ll no longer provide protection for .ru, .su, and .by domains & will display a banner of support for the ukrainian people on those sites – united with ukraine


  • fix(woocommerce): fixes issues with woocommerce login not working, resolves #310


  • feat(woocommerce): added support for woocommerce registrations, resolves #306
  • fix(admin): fix for displaying & adding blocked ip addresses, resolves #308


  • refactor(wordpress coding standards): misc updates to conform to wordpress coding standards

= v5.2.11

  • fix(security): fixes the missing orderby parameter sanitization in the admin dashboard
  • fix(admin settings): fixed whitespace issue in textarea setting fields, resolves #303
  • fix(admin log): updated date column to use the local setting date & time format, resolves #305


  • fix(security): fixes the missing parameter sanitization in the admin dashboard, resolves #301


  • feat(zero spam): you can now define your zero spam license key in wp-config.php using the constant ZEROSPAM_LICENSE_KEY, resolves #298
  • fix(admin): fix for setting action buttons not doing anything, resolves #295
  • fix(admin): fixes php notice for in_array in class-utilities, resolves #299


  • feat(memberpress): resolves #286, added support for the memberpress login page
  • fix(memberpress): updated memberpress sign-up hook priority to ensure it runs
  • refactor(admin): now using nonces to process zero spam admin actions


  • perf(settings): performance improvement to settings being loaded
  • style(admin): added check for zero spam license key when enabled
  • style(admin): misc. admin interface improvements


  • fix(undefined method): fix for undefined types method


  • feat(givewp): now checks submitted emails against the blocked email domains list
  • perf(everything): refactoring of code for a boost in performance
  • docs(readme): misc. readme file updates
  • fix(admin): fix for error log not clearing


  • feat(memberpress): resolves #283, now supports memberpress registration forms
  • feat(mailchimp4wp): resolves #121, now supports mailchimp4wp forms
  • refactor(misc): misc. updates to comply with wordpress coding standards.
  • style(admin): misc. admin interface improvements


  • feat(givewp): now support givewp donation forms
  • style(notices): minor update to default detection notice


  • fix(db): resolves #281, fixes db update error for multisite installations
  • fix(db): fix for unsanitized db log entries
  • style(admin): new cf7 icon added for blocked log


  • fix(woocommerce): resolves #280, fixes login integration breaking woocommerce login form


  • feat(login): now protects user login attempts
  • feat(project honeypot): resolves #201, project honeypot ip checks now integrated
  • perf(sharing): blocked ips are no longer shared with
  • perf(database): doesn’t log .ico requests anymore that normally resulted in 2 entries per detection
  • style(admin): misc admin interface improvements
  • refactor(misc): cleaning up code & wordpress coding standards updates
  • refactor(zero spam api): updated version on the zero spam api endpoint


  • fix(php notice): fix for some hosts firing a php notice when unable to retrieve the list of recommended blocked email domains


  • feat(fluent forms): resolves #276, fluent forms is now supported
  • fix(php notice): resolves #277, fix for array_intersect(): Argument #2 must be of type array, bool


  • feat(dashboard widget): resolves #275, added the ability to control the dashboard widget visibility
  • feat(settings): button to quickly override and update settings to zero spam’s recommended
  • feat(email domains): resolves #246, ability to block disposable and malicious email domains
  • perf(sharing): sharing detections optimized
  • perf(disallowed list): removed the unused cron to sync disallowed words
  • chore(disallowed list): updated to the latest splorp’s disallowed list
  • docs(htaccess): added a notice & recommended max number of blocked ips when using .htaccess
  • fix(ipinfo): fix for uncaught ipinfo exception


  • fix(htaccess): resolves #274, fix for newer apache versions and option to select the method ips are blocked


  • perf(blocked ips): moved blocked ips to .htacess for improved performance
  • refactor(woocommerce): woocommerce registration forms support dropped in place of 3rd-party IP checks
  • docs(admin): misc updates to admin interface


  • perf(geolocation): improved performance for geolocation and data sharing
  • docs(readme): updated readme file
  • refactor(misc): added some functionality to make debugging easier
  • fix(ipinfo): resolves #273, loads the ipinfo library only if enabled


  • feat(geolocation): resolves #270, added support for ipinfo geolocation
  • feat(cli): resolves #271, added WP CLI support
  • feat(admin): resolves #237, new admin dashboard widget
  • refactor(admin): wordpress coding standards fixes
  • refactor(settings): minor update to settings section title
  • docs(readme): updated readme file


  • feat(ipstack): ipstack errors are logged to the zerospam.log file in the uploads directory
  • feat(cloudflare): resolves #267, checks http_cf_ipcountry against blocked countries
  • feat(admin): resolves #264, adds ability to export & import settings
  • perf(davidwalsh): resolves #266, only loads the david walsh script on pages that are needed
  • fix(caching): resolves #258, added no-cache header to the blocked page output
  • refactor(stopforumspam): increased the default confidence score for stop forum spam to help prevent false positives
  • docs(faq): added common question about how to boost performance of the plugin


  • fix(updates): resolves #262, sanitized & escaped variables
  • fix(standards): resolved #261, sanitized & escaped variables
  • fix(cron jobs): resolves #260, removed the remote call to splorp’s blacklist on Github


  • Fixed issue with WPForms AJAX forms not getting validated by Zero Spam for WordPress #238
  • David Walsh detection technique applied to WPForms & CF7
  • Miscellaneous admin UI improvements
  • Added ability to disable syncing WP’s Disallowed Comment Keys


  • Improved protection for comments, CF7, Formidbale, registrations, WooCommerce and WPForms submissions.
  • David Walsh detection technique applied to core WP registration forms.


  • PHP notice fix


  • Performance enhancements
  • Various admin UI improvements
  • Strengthened comment & registration spam detections


  • Fix for admin first-time config notice


  • Added first-time configuration notice & auto-configure recommended settings functionality
  • Added the ability to regenerate the honeypot ID
  • Various admin UI improvements
  • WP Disallowed Comment Keys are automatically updated weekly using
  • Strengthened comment spam detections using WP core disallowed list
  • David Walsh’s spam technique is back!


  • Various admin UI improvements
  • Strengthened comment spam detections


  • Fix autoloader compatibility with Windows paths (
  • Various admin UI improvements


  • Fix for when checks should be preformed


  • Added support for Formidable Form Builder
  • Fixed PHP error related to a blacklist call


  • Admin UI enhancements
  • Added support for WooCommerce
  • Added Cloudflare IP address support (
  • Update to data sharing option
  • Added ability to block individual locations (country, region, zip & city)
  • Added support for WPForms


  • Updated readme file & documentation
  • Can now be installed via composer
  • Updated the required PHP version


  • Initial v5.0.0 release
  • Huge performance enhancements
  • More control over settings to fine-tune functionality
  • Lots of bug fixes & improvements