apply_filters( 'clanbite_social_kit_activity_card_html_friendship_accepted', string $html, object $row, array|null $team_payload, array|null $target_user, int $viewer_id, bool $is_home_feed, array $author )Filter the friendship activity card HTML.
Filter PHP
Parameters
$html(string)Default HTML (empty string).
$row(object)Database row.
$team_payload(array|null)Team data if available.
$target_user(array|null)Target user data if available.
$viewer_id(int)Current viewer user ID.
$is_home_feed(bool)True when rendering the merged home feed (mutual copy).
$author(array)Author payload (same shape as REST
author).
Example
add_filter( 'clanbite_social_kit_activity_card_html_friendship_accepted', function ( $html, $row, $team_payload, $target_user, $viewer_id, $is_home_feed, $author ) {
// Change $html here.
return $html;
}, 10, 7 );Defined in inc/Rest/Rest_Controller.php