define( 'DISALLOW_fiLE_EDIT', true );
- prevents any non-admin user from directly editing theme or plugin files
- disables the theme and plugin editor in the WordPress admin
- disables the ability to edit core WordPress files from either within the WordPress admin or via direct file access
- sets read-only permissions on all files in the WordPress install
Explanation: More WordPress Security: Disallow file Edit Setting In WordPress. Setting all files to read-only would make auto-updates impossible.
Correct Answer:
- disables the theme and plugin editor in the WordPress admin