LLMS_Email::add_header( string $key, string $val )
Add a single header to the email headers array
Parameters Parameters
- $key
-
(string) (Required) header key eg: 'Cc'
- $val
-
(string) (Required) header value eg: '[email protected]'
Source Source
File: includes/emails/class.llms.email.php
public function add_header( $key, $val ) { array_push( $this->headers, sprintf( '%1$s: %2$s', $key, $val ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |