<html lang="pt-br" dir="ltr"><head></head><body>### [wpforms_frontend_recaptcha_disable](https://wpforms.com/developers/wpforms_frontend_recaptcha_disable/)

**Published:** September 30, 2025
**Author:** Umair Majeed

**Content:**

## Description

The `wpforms_frontend_recaptcha_disable` filter lets you disable loading and initializing reCAPTCHA on the frontend. This is useful for automated tests or controlled environments where reCAPTCHA should not run.

This filter prevents reCAPTCHA assets and initialization from loading. If you also want to skip CAPTCHA checks during processing, pair this with the `wpforms_process_bypass_captcha` filter.

parametertypedescription`$is_captcha_disabled`boolWhether reCAPTCHA should be disabled on the frontend. Default is false.## Source

`wpforms\src\Frontend\Captcha.php`

## Example

```

/**
 * Disable reCAPTCHA on the frontend for automated testing.
 */
add_filter( 'wpforms_frontend_recaptcha_disable', '__return_true' );

/* Also skip backend verification if needed */
// add_filter( 'wpforms_process_bypass_captcha', '__return_true' );
```

## Reference Article

- [How to Disable reCAPTCHA for Automated Testing](https://wpforms.com/developers/how-to-disable-recaptcha-for-automated-testing/)

**Categories:** Filters Hooks

---

</body></html>