Set area for product form templates
This commit is contained in:
parent
4114d16383
commit
b2aa1c18f3
|
@ -9,6 +9,13 @@ use Automattic\WooCommerce\Internal\Admin\BlockTemplates\AbstractBlockTemplate;
|
||||||
* Block template class.
|
* Block template class.
|
||||||
*/
|
*/
|
||||||
abstract class AbstractProductFormTemplate extends AbstractBlockTemplate implements ProductFormTemplateInterface {
|
abstract class AbstractProductFormTemplate extends AbstractBlockTemplate implements ProductFormTemplateInterface {
|
||||||
|
/**
|
||||||
|
* Get the template area.
|
||||||
|
*/
|
||||||
|
public function get_area(): string {
|
||||||
|
return 'product-form';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a group block by ID.
|
* Get a group block by ID.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue