Plugin main file is constantly been fired on every website visit
Ofcourse! It always loads and runs the code in the main plugin file, that’s by design and is how plugins are intended to work. Why would it work any other way? How would it know without being told which code to run when? There are no sandboxes that ensure your classes only work in certain … Read more