Clanbite Social Kit General

apply_filters( 'clanbite_social_kit_reaction_icon_html', string $html, array<string, mixed> $type, string $css_class )

Filters the markup of a single reaction icon (picker and any server-rendered reaction list).

Filter PHP

Parameters

$html (string)

Icon markup (without the wrapper).

$type (array<string, mixed>)

Reaction definition.

$css_class (string)

Wrapper CSS class.

Example

add_filter( 'clanbite_social_kit_reaction_icon_html', function ( $html, $type, $css_class ) {
	// Change $html here.
	return $html;
}, 10, 3 );

Defined in inc/functions.php