Description
Fires when a block template part is loaded from a template part in the theme.
Occurrences
Filename | Line Number |
---|---|
wp-includes/blocks/template-part.php | 96 |
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 template path. |
string | $content | The template part content. |
PHP Doc
/**
* Fires when a block template part is loaded from a template part 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 template path.
* @param string $content The template part content.
*/