LLMS_Email::add_attachment( string $attachment )

Add an attachment to the email


Parameters Parameters

$attachment

(string) (Required) full system path to a file to attach


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/emails/class.llms.email.php

137
138
139
140
141
public function add_attachment( $attachment ) {
 
    array_push( $this->attachments, $attachment );
 
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.