To leave a comment, please Login or Register

You have to use your WordPress wp-config.php file, which cannot be accessed from WordPress dashboard.

It is found in the WordPress root directory /public_html/.

After getting the wp-config.php file, just edit your wp-config.php file and /* That's all, stop editing! Happy blogging. */. Paste the following code just before the line.

define( 'DISALLOW_FILE_EDIT', true );

After pasting the code, save your wp-config.php file.

enough! Plugin and Theme Editor will be disabled on your WordPress site.
15 days ago   0