WP Snippet to Hide Theme Editor In Dashboard Only Works On LocalHost Site
-
I want to remove the Theme Editor in the WP Dashboard that is located under Dashboard > Appearance > Theme Editor. The code I’m using in my
config.php
file in the root of my site is :define('DISALLOW_FILE_EDIT', true);
Which I place just before the line:
/*That’s all, stop editing! Happy blogging. */
This works on the localhost installation, but not on the live site? Any help or suggestions greatly appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘WP Snippet to Hide Theme Editor In Dashboard Only Works On LocalHost Site’ is closed to new replies.