Clanbite Forums

mask_url( string $name ): string

CSS url() value that masks an element into the icon's shape (the glyph then takes the element's colour).

public static

Class: Kernowdev\ClanbiteForums\Forums\Forum_Icons

Parameters

$name (string) Required

Namespaced icon name.

Returns

string url("data:image/svg+xml,…") or empty string.

Defined in inc/Forums/Forum_Icons.php