# Data_Access::remove_accepted_friendship()

Remove an accepted friendship row (either participant may end the friendship).

```php
remove_accepted_friendship( int $friendship_id, int $acting_user_id )
```

## Parameters

- `$friendship_id` (int) Row ID.
- `$acting_user_id` (int) Must be user_id or friend_user_id on the row.

## Return

`true|\WP_Error`
