Change allowed file extensions

I’ve been tasked with changing the allowed file uploads on 80+ forms, with multiple fields each, from pdf, doc, xls, csv, zip to solely pdf … Luckily they were all duplicated from the same base templates, so the field numbers match.

However, I began reviewing the docs on WP CLI for updating fields, and the first question that arises is how do I define which site of a multisite install I’m referring to? I read about a --url but the example was subdomain … I’m using subdirectory … would I use --url=/subdir, --url=subdir, or --url=site.com/subdir

I’d also be silly not to ask … is there a better way to do this? Any insight is greatly appreciated.
Thx
CT

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.