Clanbite Social Kit

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

Resolve the subject ID for a block render.

public

Class: Kernowdev\ClanbiteSocialKit\Social\Feed_Context

Parameters

$attribute_value (int) Required

Value stored in the block attribute.

$attributes (array) Optional

All block attributes.

Default: array()

$block (\WP_Block|null) Optional

Block instance when available.

Default: null

Returns

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

Defined in inc/Social/Feed_Context.php