Category: restrict wordpress editing

How to disable file edition in WordPress admin

Here is useful wordpress code snippet to disable file edition in WordPress admin Just paste the following (or only the needed line) in your wp-config.php file. This file is located at the root of your WordPress install. Thanks to Paulund for this useful code snippet!