LLMS_Abstract_Notification_View::set_merge_data_default( string $code )

Replace default merge codes with actual values


Parameters Parameters

$code

(string) (Required) The merge code to ge merged data for.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.notification.view.php

	protected function set_merge_data_default( $code ) {

		$mailer = LLMS()->mailer();

		switch ( $code ) {

			case '{{DIVIDER}}':
				$code = $mailer->get_divider_html();
				break;

		}

		return $code;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.11.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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