Filters the default context provided to a rendered block.
Parameters
$context
array- Default context.
$parsed_block
array- Block being rendered, filtered by
render_block_data
. $parent_block
WP_Block|null- If this is a nested block, a reference to the parent block.
Source
$context = apply_filters( 'render_block_context', $context, $parsed_block, $parent_block );
User Contributed Notes
You must log in before being able to contribute a note or feedback.