Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Hide Files With Extension

Muah edited this page Nov 25, 2017 · 8 revisions

incase you want to hide some files from the manager.

This is not the same as the global file ignore pattern in the config, rather it's made so you can dynamically hide files from the end user.

so same as Folder Restriction, you will pass a param with the extensions you want to restrict/hide

@include('MediaManager::_manager', ['ext'=>['svg']])

// or with path restriction too
@include('MediaManager::_manager', ['path'=>'users/admin/pdfs', 'ext'=>['svg']])

\\ Note that the passed param have to be an array of items not a string.

Clone this wiki locally