In your wp-config.php file, you’ve added the following line of code. What does it do?

Q. In your wp-config.php file, you’ve added the following line of code. What does it do?

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
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment

Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend