WordPress.org

Support

Support » Plugins and Hacks » Hacks » Hiding plugin files from the editor

Hiding plugin files from the editor

Viewing 2 replies - 1 through 2 (of 2 total)
  • Not currently, there’s no hook’s in place that i can see… 🙁

    If disabling the theme and plugin editor all together is an option you can do that in the config file..

    define( 'DISALLOW_FILE_EDIT', true );

    Nah that’s useful for quite a few things. For plugins like mine that need to copy a file to another directory I just wanted to disable the editing of the original.

    I guess if it becomes too much of a problem I’ll go from copying the file to just creating one.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hiding plugin files from the editor’ is closed to new replies.