[Solved] WordPress redirect JavaScript and CSS using function.php/child theme [closed]

jack bauer Asks: WordPress redirect JavaScript and CSS using function.php/child theme [closed]
Is it possible to redirect JavaScript and CSS calls using something function.php for example?

I used WP Hide & Security to rename some of my plugins and it has functioned well but it clashes with the theme on some of the pages.

From the web console you can see that the pages that it fails on are calling the original paths of the plugins, CSS and JavaScript. I’d like to rewrite the path called for each using functions.

Example error: GET wp-content/plugins/elem/js/status.min.js net::ERR_ABORTED 404 (Not Found)

Or is it possible to rewrite the paths using .htaccess for certain URLs (although WP Hide & Security is already using .htaccess to do its rewrites – so I doubt that would work)

Thank you for your suggestions.

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.