How To Hide Theme Editor and Plugin Updates


If you are using wordpress and you want to prevent other Users to not see your wordpress theme and plugin editor then hide the wordpress theme and plugins editor. 
you can see below images:




So for this purpose you have to add one line code in your wp-config.php file after adding this code theme and plugin option invisible for Everyone
copy and paste below code to hide your theme and plugin editor

define('DISALLOW_FILE_EDIT',true);

and if you want to see plugin and theme editor again you just change true into false like below

define('DISALLOW_FILE_EDIT',false);

Second tip is that if you blocked you theme and plugins updates. check image below
you just add this code to stop plugins and theme updates in your wp-config.php

define('DISALLOW_FILE_MODS',true);
if you want to see plugins and theme updates again you can change the true into false like this
define('DISALLOW_FILE_MODS',false);
you can add both together like this:

define('DISALLOW_FILE_EDIT',true);
define('DISALLOW_FILE_MODS',true);
these two line code is also good for your wordpress security.

if you have any query related this topic you will contact me any time.
Hopefully you will like this Topic and use this code as you can.


Share:

Post a Comment

Designed by OddThemes | Distributed by Blogger Themes