# clanbite_block_entity_link_url()

Filterable URL used when a block’s “link” option is enabled.

```php
clanbite_block_entity_link_url( string $url, string $block_name, int $entity_id, $block = null ): string
```

## Parameters

- `$url` (string) Default URL.
- `$block_name` (string) Block name, e.g. `clanbite/player-display-name`.
- `$entity_id` (int) User ID or team post ID.
- `$block` (\WP_Block|null) Block instance.

## Return

`string`
