LLMS_Abstract_Notification_View::get_merge_code_defaults()

Get default merge codes available to all notifications of a given type


Return Return

(array)


Top ↑

Source Source

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

	protected function get_merge_code_defaults() {

		switch ( $this->notification->get( 'type' ) ) {

			case 'email':
				$codes = array(
					'{{DIVIDER}}' => __( 'Divider Line', 'lifterlms' ),
				);
				break;

			default:
				$codes = array();
		}

		return $codes;

	}


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.