getAttachmentFilename

Get an attachment's encrypted filename. If $new is true, won't check for file existence.
Parameters Summary
string $filename
int $attachment_id
string|null $dir = NULL
bool $new = false
string $file_hash = ''