Filter hook 'render_block'

in WP Core File wp-includes/class-wp-block.php at line 566

Description

Filters the content of a single block.

Occurrences

Filename Line Number
wp-includes/class-wp-block.php 566

Parameters

Type Name Description
string $block_content The block content.
array $block The full block, including name and attributes.
WP_Block $instance The block instance.

PHP Doc

/**
		 * Filters the content of a single block.
		 *
		 * @since 5.0.0
		 * @since 5.9.0 The `$instance` parameter was added.
		 *
		 * @param string   $block_content The block content.
		 * @param array    $block         The full block, including name and attributes.
		 * @param WP_Block $instance      The block instance.
		 */