Action hook 'render_block_core_template_part_post'

in WP Core File wp-includes/blocks/template-part.php at line 65

Description

Fires when a block template part is loaded from a template post stored in the database.

Occurrences

Filename Line Number
wp-includes/blocks/template-part.php 65

Parameters

Type Name Description
string $template_part_id The requested template part namespaced to the theme.
array $attributes The block attributes.
WP_Post $template_part_post The template part post object.
string $content The template part content.

PHP Doc

/**
			 * Fires when a block template part is loaded from a template post stored in the database.
			 *
			 * @since 5.9.0
			 *
			 * @param string  $template_part_id   The requested template part namespaced to the theme.
			 * @param array   $attributes         The block attributes.
			 * @param WP_Post $template_part_post The template part post object.
			 * @param string  $content            The template part content.
			 */