filter_team_singular_block_context( array<string, mixed> $context, array<string, mixed> $parsed_block, \WP_Block|null $parent_block ): array<string, mixed>Pass the current team post into block context on singular templates (nested blocks often lack postId on the front end).
public
Class: Kernowdev\Clanbite\Extensions\Teams
Parameters
$context(array<string, mixed>) RequiredBlock context.
$parsed_block(array<string, mixed>) RequiredParsed block.
$parent_block(\WP_Block|null) RequiredParent block.
Returns
array<string, mixed>
Defined in inc/extensions/teams/class-extension-teams.php