Example code
Step 1
XTRA
How to disable google fonts on website?
In the following example you can see how to disable loading of google fonts on your website with a simple filter.
XTRA
How and where should I add this PHP codes?
Best solution is to add custom actions and filters in Child Theme functions.php file. But also you can create your own plugin and use this codes in your plugin.
No comment