LLMS_Abstract_Notification_View::get_merge_codes()

Get available merge codes for the current notification.


Return Return

(array)


Top ↑

Source Source

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

	public function get_merge_codes() {

		if ( ! isset( $this->merge_codes ) ) {
			$codes = array_merge( $this->get_merge_code_defaults(), $this->set_merge_codes() );
			asort( $codes );
			$this->merge_codes = $codes;
		}

		return apply_filters( $this->get_filter( 'get_merge_codes' ), $this->merge_codes, $this );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.4.0 Cache merge codes.
3.8.0
3.11.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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