Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Abstract_Notification_View::get_used_merge_codes( string $string )

Retrieve merge codes used in a given string.

Parameters Parameters


(string) (Required) Text string whereto look for merge codes.

Top ↑

Return Return

(array) Returns a list of merge codes actually used in the passed string.

Top ↑

Source Source

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

	private function get_used_merge_codes( $string ) {

		return array_keys(
				function ( $code ) use ( $string ) {
					return false !== strpos( $string, $code );


Top ↑

Changelog Changelog

Version Description
6.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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