attachment_common.php
This file provides the handling of often-used attachment types.
Mapping of file extensions to mime types
Used for application/octet-stream mime type detection. Supported extensions: bmp, gif, htm, html, jpg, jpeg, php, png, rtf, txt, patch (since 1.4.2), vcf
Adds href and text keys to attachment_common array for html attachments
Adds href and text keys to attachment_common array for image attachments
Adds href and text keys to attachment_common array for rfc822 attachments
Adds href and text keys to attachment_common array for text attachments
Adds href and text keys to attachment_common array for vcard attachments
Processes octet-stream attachments.
Calls attachment_common-load_mime_types and attachment $type hooks.
Function which optimizes readability of the above code, and also ensures that the attachment_common code is exectuted before any plugin, so that the latter may override the default processing.
Registers 'attachment $type' hooks.
Documentation generated on Mon, 13 Jan 2020 04:22:01 +0100 by phpDocumentor 1.4.3