Clanbite Social Kit Since 1.6.2

default_author( int $user_id ): array<string, mixed>

A reactor as the browser needs it, when an object type supplies no author callback.

public static

Class: Kernowdev\ClanbiteSocialKit\Social\Reactions

Parameters

$user_id (int) Required

Reacting user.

Returns

array<string, mixed> id, name, profile_url, avatar_url.

Defined in inc/Social/Reactions.php

Changelog

VersionDescription
1.6.2Introduced.