# clanbite_social_kit_resolve_feed_profile_user_id()

Resolve the profile stream owner when `feedContext` is `profile` and `profileUserId` is not set in the block.

Order: block attribute (handled by caller), block context `clanbite/playerId`, main-query `WP_User`,
`author_name`, canonical `/players/{nicename}/`, then player settings for the logged-in viewer.

```php
clanbite_social_kit_resolve_feed_profile_user_id( int $from_attribute, $block = null ): int
```

## Parameters

- `$from_attribute` (int) Value from block `profileUserId` (0 if unset).
- `$block` (\WP_Block|null) Block instance.

## Return

`int`
