Noptin_Mailer::get_subject( $data = array() )

Returns the email subject with merge tags replaced.


Source Source

File: includes/class-noptin-mailer.php

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

		if ( empty( $data['email_subject'] ) ) {
			return '';
		}

		$subject = trim( $data['email_subject'] );

		if ( empty( $data['merge_tags'] ) ) {
			$data['merge_tags'] = array();
		}

		$subject = $this->merge( $subject, $data['merge_tags'] );

		return $subject;

	}


Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation