Automattic\WooCommerce\Internal\Features\ProductBlockEditor\ProductTemplates
SimpleProductTemplate::get_id()
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() SimpleProductTemplate::get id code WC 9.3.3
public function get_id(): string { return 'simple-product'; }