apply_filters( 'hivepress/v1/models/attachment/filename', $filename, $ext, $path ) → {string}
Filters the attachment filename before the uploading.
Parameters:
Name | Type | Description |
---|---|---|
$filename |
string | Filename. |
$ext |
string | File extension. |
$path |
string | Directory path. |
- Source:
Returns:
Filename.
- Type
- string