Clanbite Points Messages Since 1.3.0
Shown when a member earns points, unless the action below has its own wording.
- Key
points_earned.default- Label
- Points earned popup: general wording
- Edited under
- Clanbite → Points → Messages
Default wording
Placeholders
| Token | Contains |
|---|---|
{amount} | how many points were earned |
{points} | the point type’s name, for example XP |
{action} | what they did, for example “Posted a status update” |
Use it
clanbite_get_message( 'points_earned.default', array( /* values for the placeholders */ ) );Defined in inc/messages.php
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Introduced. |