Change script location in PushUpTheWeb plugin
I need to change the pushup.js that this plugin loads to use my customized version located in my child theme’s directory, e.g.,
I’ve modified the plugin’s supplied .js for now, but obviously that will be overwritten whenever the plugin gets updated.
I read elsewhere that add_filter() can be used for this sort of thing, but I can’t make heads nor tails of the documentation. Can someone post an example of how this might be done (preferably w/ comment lines to help less experienced coders?)
Here’s the relevant section of pushuptheweb-wordpress.php:
- The topic ‘Change script location in PushUpTheWeb plugin’ is closed to new replies.