Clanbite Since 1.5.0
clanbite_get_message_template( string $key ): stringThe wording a message uses: the site owner's version, or the default.
The result still contains {placeholder} tokens; use clanbite_get_message() to fill them in. Use this when the values are only known later, for example to hand the template to JavaScript.
Parameters
$key(string) RequiredMessage key.
Returns
string Template, or an empty string for an unregistered key.
Defined in inc/messages.php
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |