Clanbite Social Kit Social

do_action( 'clanbite_social_feed_before_post_engagement_actions', string $feed_context, array<string, mixed> $attributes )

Allow plugins to inject controls above the standard engagement toolbar.

Example use: additional per-post actions that live next to React/Reply/Share.

Implementations may echo buttons using Interactivity directives such as: – data-wp-on–click="actions.yourAction" – data-wp-bind–data-post-id="context.item.id"

Action PHP

Parameters

$feed_context (string)

home|profile|team|group.

$attributes (array<string, mixed>)

Block attributes.

Example

add_action( 'clanbite_social_feed_before_post_engagement_actions', function ( $feed_context, $attributes ) {
	// Run your code.
}, 10, 2 );

Defined in src/blocks/social-feed/render.php