Home › Forums › Support › Where to place a filter hook This topic has 1 reply, 2 voices, and was last updated 3 years, 8 months ago by David. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts January 20, 2022 at 3:57 am #2087022 Frans I’am using Contact Form 7 with Google recaptcha integration. I consider to change the recaptcha threshold: FAQ Contact Form 7 recaptcha This is the code: add_filter( 'wpcf7_recaptcha_threshold', function( $threshold ) { $threshold = 0.3; // decrease threshold to 0.3 return $threshold; }, 10, 1 ); Where can I put this code ? Appearance>Elements>Hook: what location ? Or should I use put this code in the Code Snippets Plugin? Thanks ! Frans January 20, 2022 at 5:01 am #2087084 DavidStaff Customer Support Hi there, You should use the Code Snippets plugin. More info on adding PHP Snippets here: https://docs.generatepress.com/article/adding-php/ Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In