Clanbite Social Kit Since 1.6.4
rest_reactors( WP_REST_Request $request ): WP_REST_Response|WP_ErrorREST: everyone who reacted to an object with one reaction (the "See all" list), newest first.
Only for viewers who may see the object: the object type's optional can_view callback decides (return false or a WP_Error to refuse).
public static
Class: Kernowdev\ClanbiteSocialKit\Social\Reactions
Parameters
$request(WP_REST_Request) RequiredRequest (
reaction_typequery argument).
Returns
WP_REST_Response|WP_Error { reaction_type, reactors: list<{ id, name, profile_url, avatar_url }> }.
Defined in inc/Social/Reactions.php
Changelog
| Version | Description |
|---|---|
| 1.6.4 | Introduced. |