Automattic\WooCommerce\Internal\Features\ProductBlockEditor\ProductTemplates

SimpleProductTemplate::get_id()publicWC 1.0

Get the template ID.

Method of the class: SimpleProductTemplate{}

No Hooks.

Return

null. Nothing (null).

Usage

$SimpleProductTemplate = new SimpleProductTemplate();
$SimpleProductTemplate->get_id(): string;

SimpleProductTemplate::get_id() code WC 9.3.3

public function get_id(): string {
	return 'simple-product';
}