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

(array) Default context.

$parsed_block

(array) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.