Title: Dequeue plugin recaptcha js
Last modified: February 3, 2022

---

# Dequeue plugin recaptcha js

 *  Resolved [fmh999](https://wordpress.org/support/users/fmh999/)
 * (@fmh999)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/dequeue-plugin-recaptcha-js/)
 * Hello,
 * Thanks for making this plugin, it is very useful.
 * In the spirit of optimization, what the plugin handler name to dequeue the recaptcha
   js file?
 * wpcf7-recaptcha-controls.js
 * The following does not do the job?
 * wp_dequeue_script(‘wpcf7-recaptcha’);
 * Thanks for your reply much appreciated.

Viewing 1 replies (of 1 total)

 *  Plugin Author [IQComputing](https://wordpress.org/support/users/iqcomputing/)
 * (@iqcomputing)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/dequeue-plugin-recaptcha-js/#post-15324793)
 * Hello,
 * The `wpcf7-recaptcha-controls.js` is purposely small. Coming in at 63 lines of
   code, 2 KB unminified and ~1000 bytes minified ( by optimization plugin ). It’s
   unlikely you will see any performance improvements removing such a tiny script
   from being requested.
 * That being said, the script is enqueued using `wp_enqueue_scripts` at priority
   50 and is a required script with `google-recaptcha` handle. You would need to
   conditional dequeue `google-recaptcha` to also dequeue `wpcf7-recaptcha-controls.
   js`.

Viewing 1 replies (of 1 total)

The topic ‘Dequeue plugin recaptcha js’ is closed to new replies.

 * ![](https://ps.w.org/wpcf7-recaptcha/assets/icon.svg?rev=2003053)
 * [ReCaptcha v2 for Contact Form 7](https://wordpress.org/plugins/wpcf7-recaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpcf7-recaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpcf7-recaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/wpcf7-recaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpcf7-recaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpcf7-recaptcha/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [IQComputing](https://wordpress.org/support/users/iqcomputing/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/dequeue-plugin-recaptcha-js/#post-15324793)
 * Status: resolved