apply_filters( 'pre_render_block', string|null $pre_render, array $parsed_block )

Allows render_block() to be short-circuited, by returning a non-null value.


Parameters Parameters

$pre_render

(string|null) The pre-rendered content. Default null.

$parsed_block

(array) The block being rendered.


Top ↑

Source Source

File: wp-includes/blocks.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
5.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.