Remove setting template on productBlockEditorSettings

This commit is contained in:
Matt Sherman 2023-11-13 14:43:57 -05:00
parent a8e996a0ff
commit 3dbd06ef1b
1 changed files with 0 additions and 1 deletions

View File

@ -202,7 +202,6 @@ class Init {
$template_registry = wc_get_container()->get( BlockTemplateRegistry::class );
$editor_settings['template'] = $template_registry->get_registered( 'simple-product' )->get_formatted_template();
$editor_settings['templates'] = array(
'product' => $template_registry->get_registered( 'simple-product' )->get_formatted_template(),
'product_variation' => $template_registry->get_registered( 'product-variation' )->get_formatted_template(),