Automattic\WooCommerce\Admin\Features\ProductBlockEditor
ProductTemplate::set_layout_template_id
Set the layout template ID.
Метод класса: ProductTemplate{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$ProductTemplate = new ProductTemplate(); $ProductTemplate->set_layout_template_id( $layout_template_id );
- $layout_template_id(строка) (обязательный)
- The layout template ID.
Код ProductTemplate::set_layout_template_id() ProductTemplate::set layout template id WC 11.3.0
public function set_layout_template_id( string $layout_template_id ) {
unset( $layout_template_id );
self::maybe_log_removal_warning();
}