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()
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 ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |