Clanbite Social Kit Social Since 1.6.4

apply_filters( 'clanbite_social_kit_reactors_list_limit', int $limit, string $object_type, int $object_id, string $slug )

Filters how many people the "See all" list returns for one reaction.

Filter PHP

Parameters

$limit (int)

Maximum reactors (default 200).

$object_type (string)

Reactable object type.

$object_id (int)

Object ID.

$slug (string)

Reaction slug.

Example

add_filter( 'clanbite_social_kit_reactors_list_limit', function ( $limit, $object_type, $object_id, $slug ) {
	// Change $limit here.
	return $limit;
}, 10, 4 );

Defined in inc/Social/Reactions.php

Changelog

VersionDescription
1.6.4Introduced.