Hi @wp-marvin261, how are you?
Actually there’s no point to hide files in dashboard because users still can edit/see them in FTP or plugin’s official repository or even in SVN.
But anyway you can change the folders to be excluded from the tree using the filter plugin_files_exclusions.
This array is passed to list_files:
$list_files = list_files( $dir, 100, $exclusions );
And used to “skip” the folder/file.
(thanks @pross for indicate the filter)
-
This reply was modified 7 years, 1 month ago by
Mário Valney.