Clanbite

prime_clanbite_team_single_loop_for_plugin_template( mixed|null $pre_render, array<string, mixed> $parsed_block, \WP_Block|null $parent_block ): mixed|null

Plugin block templates never call the_post(); prime the main query so team blocks and get_the_ID() work on the front end.

public

Class: Kernowdev\Clanbite\Extensions\Teams

Parameters

$pre_render (mixed|null) Required

Short-circuit value.

$parsed_block (array<string, mixed>) Required

Parsed block.

$parent_block (\WP_Block|null) Required

Parent block.

Returns

mixed|null

Defined in inc/extensions/teams/class-extension-teams.php