Title: wc_enqueue_js
Last modified: April 16, 2026

---

# wc_enqueue_js

 *  Resolved [jdrw3](https://wordpress.org/support/users/jdrw3/)
 * (@jdrw3)
 * [1 month, 1 week ago](https://wordpress.org/support/topic/wc_enqueue_js/)
 * Could you please remove wc_enqueue_js from your code.
 * //The wc_enqueue_js function is deprecated since version 10.4.0. Replace with
   wp_add_inline_script.

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

 *  Plugin Support [priyankajagtap](https://wordpress.org/support/users/priyankajagtap/)
 * (@priyankajagtap)
 * [1 month ago](https://wordpress.org/support/topic/wc_enqueue_js/#post-18886036)
 * Hi [@jdrw3](https://wordpress.org/support/users/jdrw3/),
 * Thank you for pointing this out.
 * We appreciate you bringing this to our notice. We will review the usage of wc_enqueue_js
   in our code and replace it with wp_add_inline_script as recommended, since it
   has been deprecated.
 * We’ll check and inform you the update on this.
 *  Plugin Support [priyankajagtap](https://wordpress.org/support/users/priyankajagtap/)
 * (@priyankajagtap)
 * [1 month ago](https://wordpress.org/support/topic/wc_enqueue_js/#post-18886609)
 * Hi [@jdrw3](https://wordpress.org/support/users/jdrw3/),
 * Our development team has reviewed the issue and prepared a fix for the deprecated
   wc_enqueue_js usage on priority.
 * You can download the patched file from the link below:
   [https://www.dropbox.com/scl/fi/ag4xipt5yiibckntrw723/woocommerce-ac.php?rlkey=2y4woyzu7wyii06qgztoiggp2&st=wo6da0dg&dl=0](https://www.dropbox.com/scl/fi/ag4xipt5yiibckntrw723/woocommerce-ac.php?rlkey=2y4woyzu7wyii06qgztoiggp2&st=wo6da0dg&dl=0)
 * Please replace the existing file at the following path via FTP:
   /wp-content/plugins/
   woocommerce-abandoned-cart/<HERE>
 * Once done, kindly check and confirm if everything is working as expected.
 * We will also include this fix in an upcoming plugin update.
 * Please let us know if you have any further queries.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwc_enqueue_js%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/woocommerce-abandoned-cart/assets/icon-256x256.png?rev=2369396)
 * [Abandoned Cart Lite for WooCommerce](https://wordpress.org/plugins/woocommerce-abandoned-cart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-abandoned-cart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-abandoned-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-abandoned-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-abandoned-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-abandoned-cart/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [priyankajagtap](https://wordpress.org/support/users/priyankajagtap/)
 * Last activity: [1 month ago](https://wordpress.org/support/topic/wc_enqueue_js/#post-18886609)
 * Status: resolved