remove_accepted_friendship( int $friendship_id, int $acting_user_id ): true|\WP_ErrorRemove an accepted friendship row (either participant may end the friendship).
public static
Class: Kernowdev\ClanbiteSocialKit\Social\Data_Access
Parameters
$friendship_id(int) RequiredRow ID.
$acting_user_id(int) RequiredMust be user_id or friend_user_id on the row.
Returns
true|\WP_Error
Defined in inc/Social/Data_Access.php