LLMS_Email::__construct( $args = array() )
Constructor Sets up data needed to generate email content
Contents
Source Source
File: includes/emails/class.llms.email.php
public function __construct( $args = array() ) {
$this->add_header( 'Content-Type', $this->get_content_type() );
$this->add_merge_data(
array(
'{blogname}' => get_bloginfo( 'name', 'display' ),
'{site_title}' => get_bloginfo( 'name', 'display' ),
'{divider}' => llms()->mailer()->get_divider_html(),
'{button_style}' => llms()->mailer()->get_button_style(),
)
);
$this->init( $args );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |