resolve_subject( int $attribute_value, array $attributes = array(), ?WP_Block $block = null ): intResolve the subject ID for a block render.
public
Class: Kernowdev\ClanbiteSocialKit\Social\Feed_Context
Parameters
$attribute_value(int) RequiredValue stored in the block attribute.
$attributes(array) OptionalAll block attributes.
Default:
array()$block(\WP_Block|null) OptionalBlock instance when available.
Default:
null
Returns
int Subject ID (0 when it cannot be determined).
Defined in inc/Social/Feed_Context.php