Warning: This method has been deprecated. LLMS_Achievement::format_string() is deprecated with no replacement instead.
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_Achievement::format_string( string $string )
Format String
Parameters Parameters
- $string
-
(string) (Required) Un-formatted string.
Return Return
(string) Formatted string.
Source Source
File: includes/class.llms.achievement.php
private 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 |
---|---|
6.0.0 | Introduced. |