Disable WordPress Admin File Changes

Here we are going to sharing with you some WordPress configuration setting that will prevent editing any files from within your WordPress admin area, by users with unauthorized access. And for some reason, if you wish to limit the customizations which may be done to a WordPress installation, you can quickly and easily disable a variety of powerful admin panel features.

These are simple WordPress configuration settings and is easy to implement. At the root of your WordPress install, add the following lines in your wp-config.php file.

And if you decide to leave this snippet active on your site, be sure to disable it at least once a week for a couple of hours to ensure that available updates show up in your WordPress admin dashboard.

You may also be interested to learn about get the slug of current post, display shortcode in templates, wrap images in div, and wp_query pagination.