Clanbite

clanbite_visibility_container_should_show( array $attributes, \WP_Block|null $block = null ): bool

Whether inner blocks should render for the current visitor.

Parameters

$attributes (array<string, mixed>) Required

Block attributes.

$block (\WP_Block|null) Optional

Block instance (optional, for filters).

Default: null

Returns

bool

Defined in inc/visibility-container.php