Automattic\WooCommerce\Admin\Features\ProductBlockEditor
ProductTemplate::set_layout_template_id()
Set the layout template ID.
Method of the class: ProductTemplate{}
No Hooks.
Return
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() ProductTemplate::set layout template id code WC 9.7.1
public function set_layout_template_id( string $layout_template_id ) { $this->layout_template_id = $layout_template_id; }