Tom Cafferkey
|
35d49f1583
|
BlockTemplateController (https://github.com/woocommerce/woocommerce-blocks/pull/4981)
* BlockTemplateController
* Check if theme already has template
* ThemeUtils file to check for FSE enabled themes
* Use Gutenberg global gutenberg_supports_block_templates
* Remove ThemeUtils reference
* Update with code review comments
* Delete ThemeUtils and move supports_block_templates check
* Duplicate functions from Gutenberg into Utils file
* Remove template file
* Check template directory and stylesheet directory for template
|
2021-10-25 10:45:50 +01:00 |