do_action( 'clanbite_social_feed_post_engagement_actions', string $feed_context, array<string, mixed> $attributes )Extend the per-post engagement row (React / Reply / Share) with custom actions.
The hook fires inside the .clanbite-social-feed__engagement-actions toolbar. Third-party output should: – Reuse clanbite-social-feed__engagement-btn (or its own BEM-style class). – Bind the current post ID via data-wp-bind--data-post-id="context.item.id". – Use Interactivity actions on the clanbite-social/feed store (or generic JS).
Action PHP
Parameters
$feed_context(string)home|profile|team|group.
$attributes(array<string, mixed>)Block attributes.
Example
add_action( 'clanbite_social_feed_post_engagement_actions', function ( $feed_context, $attributes ) {
// Run your code.
}, 10, 2 );Defined in src/blocks/social-feed/render.php