Skip to content

Instantly share code, notes, and snippets.

@YakovSPb
Last active April 5, 2020 10:49
Show Gist options
  • Save YakovSPb/443f32bf8929e342a8e24f22f0f0d34c to your computer and use it in GitHub Desktop.
Save YakovSPb/443f32bf8929e342a8e24f22f0f0d34c to your computer and use it in GitHub Desktop.
Антиспам без капчи
1. Создаем в Contact Form 7 чекбокс
[acceptance agree class:agree default:on invert]
2.
<script language="javascript">
jQuery('.agree').prop('checked', false);
</script>
3.
<style type="text/css">
.agree {display:none}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment