Hello so i have a general question about some scripts and css files that i have, which i want to remove from my website COMPLETELY in order to speed it up.
I am aware the method to do it is to dequeue the files, however what if i wanted to delete them entirely? They are old scripts bundled with the theme that i dont want (like pretty photo, etc.)
IS this correct and allowed? I created a staging copy to test this:
1) delete the enqueue from the functions.php
2) Delete the files from the server completely
3) Also remove from the functions.php of the child theme.
Is this a correct method of removing scripts completely? (i have made a backup of the files and the functions jic anyway