Clanbite Ranks Since 1.3.0

clanbite_ranks_message_template( string $key ): string

Wording for one of Ranks' messages, with its {placeholders} still in place.

The rank-up popup fills in the old and new rank in the browser, so it needs the template. Uses the site owner's custom wording from Clanbite 1.5+; an older core falls back to the built-in default.

Parameters

$key (string) Required

Message key, for example rank_toast.details.

Returns

string

Defined in inc/messages.php

Changelog

VersionDescription
1.3.0Introduced.