# Feed_Context::resolve_subject()

Resolve the subject ID for a block render.

```php
resolve_subject( int $attribute_value, array $attributes = array(), ?WP_Block $block = null ): int
```

## Parameters

- `$attribute_value` (int) Value stored in the block attribute.
- `$attributes` (array) All block attributes.
- `$block` (\WP_Block|null) Block instance when available.

## Return

`int` Subject ID (0 when it cannot be determined).
