Q1. How will you disable theme and plugin editing in your WordPress admin?
Ans. Adding the following constant will disable theme and plugin editing from within the WordPress admin:
Q2. How will you prevent automatic update to a plugin which you have modified?
Ans. You can do it by changing the name of the plugin’s directory then activating it again into your WordPress dashboard. Alternatively, you can modify the name of the plugin to achieve the same.