Disallow Theme Editing from Backend WordPress

WordPress allows theme editing from backend. Which you can find at APPEARANCE->EDITOR. But sometimes you want to disable the file editing from backend, if you do not want your client to add or change the files of theme. Therefore you can disable the file editing by just writing a one line into your wp-config.php file.

define( 'DISALLOW_FILE_EDIT', true );

This will disallow file editing from backend

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s