Changes between Initial Version and Version 1 of Ticket #56394, comment 4
- Timestamp:
- 08/17/2022 01:37:53 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56394, comment 4
initial v1 4 4 5 5 `locate_block_template()`: 6 1. Sets `$_wp_current_template_content`to the contents of the block template and returns `wp-includes/template-canvas.php`.6 1. Sets the `$_wp_current_template_content` global to the contents of the block template and returns `wp-includes/template-canvas.php`. 7 7 2. `wp-includes/template-canvas.php` calls `get_the_block_template_html()`. 8 8 3. `get_the_block_template_html()` makes use of the `$_wp_current_template_content` global variable and returns the generated template markup.