Clanbite Forums Since 1.3.1

icon_url_for( array $def ): string

Image address to show for a reaction type: its own icon_url, otherwise the flat image of its emoji.

public static

Class: Kernowdev\ClanbiteForums\Forums\Reaction_Registry

Parameters

$def (array<string, mixed>) Required

Reaction definition.

Returns

string

Defined in inc/Forums/Reaction_Registry.php

Changelog

VersionDescription
1.3.1Introduced.