LH Zero Spam


Why should your users prove that they’re humans by filling out captchas? Let bots prove they’re not bots with the LH Zero Spam plugin.

LH Zero Spam blocks registration spam and spam in comments automatically without any config or setup. Zero Spam was initially built based on the work by David Walsh, but enhanced with simpler code base and unobtrusive JavaScript.

Major features in LH Zero Spam include:

  • No captcha, because spam is not users’ problem
  • No moderation queues, because spam is not administrators’ problem
  • Blocks spam registrations & comments with the use of JavaScript
  • Blocks buddypress spam registrations with the use of JavaScript
  • Blocks woocommerce spam orders with the use of JavaScript


  1. Upload the lh-zero-spam folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


Is JavaScript required for this plugin to work?

Yes, that’s what does the magic and keeps spam bots out.

I keep getting ‘There was a problem processing your comment.’

Be sure JavaScript is enabled and there are no JS errors.

Does this work with multisite?’

Yes it protects from spam wp-register registrations.

Does this work with Buddypress?’

Yes as of version 1.08 this will protect from Buddypress registrations. Note is requires the bp_before_account_details_fields hook, must reputable themse include this hook.

Does this work with Woocommerce?’

Yes as of version 1.10 this will protect from Woocommerce spam order registrations.

What is something does not work?

LH Zero Spam, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfifteen, twentysixteen etc.

If the problem persists please leave a post in the support forum: https://wordpress.org/support/plugin/lh-zero-spam/. I look there regularly and resolve most queries.

What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: https://shawfactor.com/contact/


2021년 7월 7일
Thanks Peter for making and maintaining this. Another plugin removed the David Walsh approach and I got client complaints so I'm really pleased to see this. This works on the default contact form for Beaver Builder too.
2016년 9월 17일
I was using Akismet but Akismet failed to stop spam, I was getting a lot of spam comments on daily basis. Few month ago, I installed this free plugin and there isn't any spam comment since then. This one is a must have plugin for bloggers.
모든 3 평가 읽기

기여자 & 개발자

“LH Zero Spam”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.


자국어로 “LH Zero Spam”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.



  • Initial release


  • Code Improvement


  • Better documentation

**1.03 January 28, 2017*
Rest api support.

**1.04 January 30, 2017*
xmlrpc support.

**1.05 July 25, 2017*
class check.

**1.06 September 20, 2017*
Comment_form backup

**1.07 September 20, 2017*
Added minimum version of php

**1.08 September 24, 2017*
Added buddypress support

**1.09 December 17, 2017*
filemtime for load_file

**1.10 May 17, 2019*
anonymous function for javascript nonce handling