Set allowed file extensions
Usage
$wireUpload->setValidExtensions(array $extensions);
Arguments
Name | Type(s) | Description |
---|---|---|
extensions | array | Array of file extensions (strings), not including periods |
Return value
$this
Object instance it was called from (method supports fluent interface).
WireUpload methods and properties
API reference based on ProcessWire core version 3.0.236