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 11.0.1

public function set_layout_template_id( string $layout_template_id ) {
	unset( $layout_template_id );

	self::maybe_log_removal_warning();
}