Clanbite Social Kit Social Since 1.6.2

apply_filters( 'clanbite_social_kit_reaction_picker_html', string $html, array<string, mixed> $args )

Filters the reaction picker markup before it is printed.

Filter PHP

Parameters

$html (string)

Picker HTML.

$args (array<string, mixed>)

Arguments the surface passed (prefix, action, hidden, …).

Example

add_filter( 'clanbite_social_kit_reaction_picker_html', function ( $html, $args ) {
	// Change $html here.
	return $html;
}, 10, 2 );

Defined in inc/Social/Reaction_Markup.php

Changelog

VersionDescription
1.6.2Introduced.