Clanbite Social Kit Social

apply_filters( 'clanbite_social_kit_reaction_type_rest', array<string, mixed> $row, array<string, mixed> $def )

Filters one reaction type's REST representation.

Filter PHP

Parameters

$row (array<string, mixed>)

REST row.

$def (array<string, mixed>)

Reaction type definition.

Example

add_filter( 'clanbite_social_kit_reaction_type_rest', function ( $row, $def ) {
	// Change $row here.
	return $row;
}, 10, 2 );

Defined in inc/Social/Reaction_Registry.php