Automattic\WooCommerce\Admin\Features\ProductBlockEditor

ProductTemplate::set_layout_template_idpublicWC 1.0

Set the layout template ID.

Method of the class: ProductTemplate{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ProductTemplate = new ProductTemplate();
$ProductTemplate->set_layout_template_id( $layout_template_id );
$layout_template_id(string) (required)
The layout template ID.

ProductTemplate::set_layout_template_id() code WC 10.6.2

public function set_layout_template_id( string $layout_template_id ) {
	$this->layout_template_id = $layout_template_id;
}