Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/blocks/template-part.php | do_action | 90 | /** * 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. */ |
Hook Parameters
Parameter 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. |