Filter list by filename string

[ad_1]

This little plugin is amazing. It does almost everything i need 🙂

I need to filter filenames before the list is created. Like houndreds of our shift plans (days, weeks, months) end up in the same directory. Instead of excluding filenames i dont want to include in the list, i only want to list files that match a given filename (or part thereof).

So i added the “filenamestartswith” attribute to your code. It enables you to match the filename with a string.

Usage Example:
[m1dll path=”wp-content/uploads/shifts” filenamestartswith=”month”]

This will list only filenames that start with “month” in the given path.

Updated m1.DownloadList 0.17.1:
https://pastebin.com/i9F9hthp

Cheers 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer