Clanbite Since 1.5.0

clanbite_toast_durations(  ): array<string, string>

How long a toast stays on screen by default.

Besides the fixed lengths there is custom, which uses the number of seconds typed into the custom length field.

Returns

array<string, string> Seconds as a string, or custom; 0 = until the visitor closes it. Value => translated label.

Defined in inc/toasts.php

Changelog

VersionDescription
1.5.0Introduced.