WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Hiding plugin files from the editor (3 posts)

  1. elfin

    Posted 5 years ago #

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

  2. Mark / t31os

    Posted 5 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

    Posted 5 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