W3cubDocs

/WordPress

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

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.

Source

File: wp-includes/blocks.php

View on Trac

Changelog

Version Description
5.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/render_block_context