Disable the Plugin and Theme Editor

Sangwan Pankaj Reply 12:57
Access to plugin and theme code is available in the WordPress dashboard. You can do one thing to protect the site from trifile to disable the both of these editors. Open your wp-config.php file and add the following constant:

define('DISALLOW_FILE_EDIT',true);

Now, when you are in the dashboard it is impossible to access the theme or plugin editor, even if you are admin.

Related Posts

Wordpress 7722879571461592510
Copyright by GhostPHP. Powered by Blogger.

Search

Recent Post

Popular Posts

Follow us