Title: Override scripts
Last modified: October 10, 2020

---

# Override scripts

 *  Resolved [girl_number_5](https://wordpress.org/support/users/trutherone/)
 * (@trutherone)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/override-scripts/)
 * Hi,
    I know ive discussed this before but we keep adding new functionality to
   your plugin mainly in the .js script which is dynamically creating the html mark-
   up – `.../assets/domaincheck.js`
 * I think i asked before but it would be a final solution for us since we are now
   fully integrated with this plugin. What would be great is if you could create
   override functionality similar to Woocommerce so that we can simply write our
   customisations to any file in the plugin and store the file in our child theme–
   Your plugin loads its internal plugins scripts first then checks to see if there’s
   a matching override file in the child-theme and loads that file instead.
 * This would put an end to us having to continually write our changes into newly
   updated versions of the plugin. Even if you can include this feature only for
   the `domaincheck.js` file alone it would be a final solution.
 * Any chance of this at all? Much Thanks for the plugin anyhow; its spot on otherwise…

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

 *  Plugin Author [WP24](https://wordpress.org/support/users/wp24dotorg/)
 * (@wp24dotorg)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/override-scripts/#post-13519235)
 * The current version now supports overriding the domaincheck.js.
    Just place “\
   wp24-domain-check\assets\js\domaincheck.js” in your theme folder. Please tell
   me if you need more files to override.
 *  Thread Starter [girl_number_5](https://wordpress.org/support/users/trutherone/)
 * (@trutherone)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/override-scripts/#post-13521529)
 * Hi,
    Wow! Just updated and tested works great many thanks – Cant leave another
   review so i sent a little donation.
 * Many thanks … Stay Well
 *  Plugin Author [WP24](https://wordpress.org/support/users/wp24dotorg/)
 * (@wp24dotorg)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/override-scripts/#post-13522905)
 * Thank you very much for the donation.

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

The topic ‘Override scripts’ is closed to new replies.

 * ![](https://ps.w.org/wp24-domain-check/assets/icon-256x256.png?rev=3437013)
 * [WP24 Domain Check](https://wordpress.org/plugins/wp24-domain-check/)
 * [Support Threads](https://wordpress.org/support/plugin/wp24-domain-check/)
 * [Active Topics](https://wordpress.org/support/plugin/wp24-domain-check/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp24-domain-check/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp24-domain-check/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [WP24](https://wordpress.org/support/users/wp24dotorg/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/override-scripts/#post-13522905)
 * Status: resolved