Override only one function in js file?
-
Actually I have two questions
1. Why is this file/wp-content/uploads/oceanwp/mian-scripts.js
used and not this one form/wp-content/themes/oceanwp/assets/js/main.min.js
?
2. How to override one function (oceanwpDropDownMobile()) ? I need to change some settings, and I don’t want to replace the whole file with the one from child theme because I will lose future updates. I just don’t want this one function to be automatically updated. How to solve such a situation?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Override only one function in js file?’ is closed to new replies.