Closed luizbills closed 3 years ago
snippet:
function _disable_file_edit () { if ( ! defined( 'DISALLOW_FILE_EDIT' ) ) define( 'DISALLOW_FILE_EDIT', true ); } add_action( 'init','_disable_file_edit' );
https://github.com/luizbills/wp-tweaks/releases/tag/1.5.0
snippet: