You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.
When working on GitHub issue #255, I have ran into trouble because filter_files() only accepts one file type at a time.
This would require extra for loops and iterations for each extra file type.
A solution I have is to modify filter_files() to alternatively accept an array() as its $type parameter, iterate over each type in the array, and return all of the files at once.
A pull request with a proposed fix should follow shortly.
The text was updated successfully, but these errors were encountered:
When working on GitHub issue #255, I have ran into trouble because
filter_files()
only accepts one file type at a time.This would require extra for loops and iterations for each extra file type.
A solution I have is to modify
filter_files()
to alternatively accept anarray()
as its$type
parameter, iterate over each type in the array, and return all of the files at once.A pull request with a proposed fix should follow shortly.
The text was updated successfully, but these errors were encountered: