WordPress.org

Ready to get started?Download WordPress

Forums

Hiding plugin files from the editor (3 posts)

  1. elfin
    Moderator
    Posted 3 years ago #

    Anyone know if it is possible? and tips on how to accomplish it?

  2. Mark / t31os
    Moderator
    Posted 3 years ago #

    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 );
  3. elfin
    Moderator
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic