render_block

Advertisement

Summery Summery

Filters the content of a single block.

Syntax Syntax

apply_filters( 'render_block', string $block_content, array $block )

Parameters Parameters

$block_content

(string) The block content about to be appended.

$block

(array) The full block, including name and attributes.

Source Source

File: wp-includes/class-wp-block.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Advertisement

Leave a Reply

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