Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/blocks/template-part.php | do_action | 101 | /** * 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. */ |
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 not found template path. |