diff --git a/dapper.php b/dapper.php index bc64ddb..5f7bf5e 100644 --- a/dapper.php +++ b/dapper.php @@ -1239,6 +1239,110 @@ if (class_exists('WPCF7')) { + + + +

Quick check to help stop spam. Thanks!

+ '; + + // Insert just before the submit button / + $form = preg_replace( '/(]*type=["\']submit["\'][^>]*>.*?<\/button>)/is', $checkbox_html . '$1', $form ); + + // Fallback: if no