woocommerce/packages/js/block-templates/src
Matt Sherman 4114f989e5
Implement useLayoutTemplate hook (#43347)
* Add @wordpress/core-data dependency

* Update lock file

* Implement useLayoutTemplate

* Changelog

* Allow layoutTemplateId param to be undefined

* Only enable useEntityRecord when layoutTemplateId is set

* Workaround for query made when layoutTemplateID is not set

* Use getEntityConfig instead of getEntity

* Update comment with core-data version

* Add doc for useLayoutTemplate
2024-01-09 15:42:20 -05:00
..
hooks Implement useLayoutTemplate hook (#43347) 2024-01-09 15:42:20 -05:00
utils Template API: Conditional disabling support (#41307) 2023-11-14 13:17:34 -03:00
index.ts Template API: Expose template block id and order to client (#40263) 2023-09-27 13:38:56 -07:00
style.scss Template API: Expose template block id and order to client (#40263) 2023-09-27 13:38:56 -07:00