LLMS_Email::format_string( string $string )

Format string method


Description Description

Finds and replaces merge fields with appropriate data.


Top ↑

Parameters Parameters

$string

(string) (Required) String to be formatted.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/emails/class.llms.email.php

	public function format_string( $string ) {
		return do_shortcode( str_replace( $this->find, $this->replace, $string ) );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Process shortocdes when formatting a string.
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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