Function createAttachment
Create an attachment, with the given array of parameters. - Adds any additional or missing parameters to $attachmentOptions. - Renames the temporary file. - Creates a thumbnail if the file is an image and the option enabled.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Attachments.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Attachments.php
array |
& $attachmentOptions |
An array of attachment options |
boolean
|
Whether the attachment was created successfully |