LLMS_Email::format_string( string $string )
Format string method Finds and replaces merge fields with appropriate data
Description Description
Parameters Parameters
- $string
-
(string) (Required) string to be formatted
Return Return
(string)
Source Source
File: includes/emails/class.llms.email.php
public function format_string( $string ) { return str_replace( $this->find, $this->replace, $string ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |