Automattic\WooCommerce\Admin\Features\ProductBlockEditor
ProductTemplate::get_layout_template_id
Get the layout template ID.
Метод класса: ProductTemplate{}
Хуков нет.
Возвращает
string|null.
Использование
$ProductTemplate = new ProductTemplate(); $ProductTemplate->get_layout_template_id();
Код ProductTemplate::get_layout_template_id() ProductTemplate::get layout template id WC 11.3.0
public function get_layout_template_id() {
self::maybe_log_removal_warning();
return null;
}