Title: Remove enqueued script
Last modified: March 12, 2017

---

# Remove enqueued script

 *  Resolved [alexcts](https://wordpress.org/support/users/alexcts/)
 * (@alexcts)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/remove-enqueued-script/)
 * Hi,
 * I would like to dequeue the google-recaptcha script from class-wcmp-shortcode-
   vendor-registration.php, because this is clashing with my custom recaptcha on
   my site. I tried adding an action at my childtheme functions.php to dequeue the
   script but still can’t work. The code is below:
 *     ```
       add_action( 'wp_print_scripts', 'remove_wcmp_recaptcha');
       function remove_wcmp_recaptcha() {
       	wp_dequeue_script( 'google-recaptcha' );
       }
       ```
   
 * and I tried with wp_enqueue_scripts with different priorities, but still can’t
   work.
 * Thanks.
    -  This topic was modified 9 years, 2 months ago by [alexcts](https://wordpress.org/support/users/alexcts/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/remove-enqueued-script/#post-8906315)
 * [@alexcts](https://wordpress.org/support/users/alexcts/) Please provide us some
   time.
 * Regards,
    Moumita
 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/remove-enqueued-script/#post-8920823)
 * [@alexcts](https://wordpress.org/support/users/alexcts/) We will resolve this
   issue in the next update of WC Marketplace.
 * Regards,
    Moumita
 *  Thread Starter [alexcts](https://wordpress.org/support/users/alexcts/)
 * (@alexcts)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/remove-enqueued-script/#post-8921750)
 * [@dualcube](https://wordpress.org/support/users/dualcube/)
 * Glad to hear that!
 * So once I updated to the latest version, the code I used above will work?
 * Regards,
    Alex
 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/remove-enqueued-script/#post-8925230)
 * [@alexcts](https://wordpress.org/support/users/alexcts/) Our team is working 
   on this issue. If we add this features in the next update, don’t worry your code
   will absolutely work :-).
 * Let me know if you have any query.
 * Regards,
    Moumita
 *  Thread Starter [alexcts](https://wordpress.org/support/users/alexcts/)
 * (@alexcts)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/remove-enqueued-script/#post-8950749)
 * [@dualcube](https://wordpress.org/support/users/dualcube/) I just updated to 
   the latest version with the fix, but my code above still can’t work. Is there
   something that I missed out?
 * Thanks.
 * Regards,
    Alex
 *  [DualCube](https://wordpress.org/support/users/dualcube/)
 * (@dualcube)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/remove-enqueued-script/#post-8969322)
 * [@alexcts](https://wordpress.org/support/users/alexcts/) In that case, please
   reach us through our [support forum](https://wc-marketplace.com/support-forum/).
 * Please don’t forget to mention this thread there.
 * Regards,
    Moumita

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Remove enqueued script’ is closed to new replies.

 * ![](https://ps.w.org/dc-woocommerce-multi-vendor/assets/icon-256x256.gif?rev=
   3314608)
 * [MultiVendorX - WooCommerce Multivendor Marketplace AI Powered Solutions](https://wordpress.org/plugins/dc-woocommerce-multi-vendor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dc-woocommerce-multi-vendor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/)
 * [Active Topics](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/)

## Tags

 * [dequeue](https://wordpress.org/support/topic-tag/dequeue/)
 * [enqueue](https://wordpress.org/support/topic-tag/enqueue/)
 * [reCAPTCHA](https://wordpress.org/support/topic-tag/recaptcha/)

 * 6 replies
 * 2 participants
 * Last reply from: [DualCube](https://wordpress.org/support/users/dualcube/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/remove-enqueued-script/#post-8969322)
 * Status: resolved