# clanbite_player_blocks_resolve_subject_user_id()

Resolves the subject user ID for Clanbite player blocks on the front end.

Uses `clanbite_player_profile_context_user_id()` first (author archive, player settings),
then the block `postId` context author, then the logged-in user.

```php
clanbite_player_blocks_resolve_subject_user_id( $block = null ): int
```

## Parameters

- `$block` (\WP_Block|null) Optional block instance for post context.

## Return

`int` User ID or 0 if none resolved.
