Action hook 'render_block_core_template_part_none'

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

Description

Fires when a requested block template part does not exist in the database nor in the theme.

Occurrences

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

Parameters

Type Name Description
string $template_part_id The requested template part namespaced to the theme.
array $attributes The block attributes.
string $template_part_file_path Absolute path to the not found template path.

PHP Doc

/**
				 * Fires when a requested block template part does not exist in the database nor in the theme.
				 *
				 * @since 5.9.0
				 *
				 * @param string $template_part_id        The requested template part namespaced to the theme.
				 * @param array  $attributes              The block attributes.
				 * @param string $template_part_file_path Absolute path to the not found template path.
				 */