Clanbite Since 1.5.0
clanbite_get_message( string $key, array $vars = array() ): stringBuild a message: the site's wording with the placeholders filled in.
The result is plain text. Escape it for the place you print it, exactly as you would the __() string it replaces.
Parameters
$key(string) RequiredMessage key (see
clanbite_register_message()).$vars(array<string, scalar>) OptionalToken => value, for the placeholders the message declares.
Default:
array()
Returns
string
Defined in inc/messages.php
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |