Automattic\WooCommerce\Admin\Features\ProductBlockEditor

ProductTemplate::set_layout_template_id │ public │ WC 1.0

Set the layout template ID.

Method of the class: ProductTemplate{}

No Hooks.

Returns

void. 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.1.2

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

	self::maybe_log_removal_warning();
}