# Data_Access::decline_friend_request()

Decline (delete) a pending request where current user is the target.

```php
decline_friend_request( int $friendship_id, int $declining_id )
```

## Parameters

- `$friendship_id` (int) Row ID.
- `$declining_id` (int) Must match friend_user_id.

## Return

`object|\WP_Error` Deleted friendship row payload.
