wordpress disable theme editor
snippet in php

wordpress disable theme editor

user6071

// On wp-config.php
define( 'DISALLOW_FILE_EDIT', true );