LLMS_Email::add_merge_data( array $data = array() )

Add merge data that will be used in the email


Parameters Parameters

$data

(array) (Optional) associative array where $key = merge field $val = merge value

Default value: array()


Top ↑

Source Source

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

	public function add_merge_data( $data = array() ) {

		foreach ( $data as $find => $replace ) {

			array_push( $this->find, $find );
			array_push( $this->replace, $replace );

		}

	}


Top ↑

Changelog 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.