LLMS_Email::add_header( string $key, string $val )

Add a single header to the email headers array

Parameters Parameters


(string) (Required) header key eg: 'Cc'


(string) (Required) header value eg: '[email protected]'

Top ↑

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 ) );


Top ↑

Changelog Changelog

Version Description
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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