render_block_context

Advertisement

Summery Summery

Filters the default context provided to a rendered block.

Syntax Syntax

apply_filters( 'render_block_context', array $context, array $parsed_block )

Parameters Parameters

$context

Default context.

$parsed_block

Block being rendered, filtered by render_block_data.

Source Source

File: wp-includes/blocks.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.5.0 Introduced.

Advertisement

Leave a Reply