LLMS_Email::__construct( $args = array() )

Constructor Sets up data needed to generate email content


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

	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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