Automattic\WooCommerce\Blocks\Templates

SingleProductTemplate::get_template_title()publicWC 1.0

Returns the title of the template.

Method of the class: SingleProductTemplate{}

No Hooks.

Return

String.

Usage

$SingleProductTemplate = new SingleProductTemplate();
$SingleProductTemplate->get_template_title();

SingleProductTemplate::get_template_title() code WC 8.9.0

public function get_template_title() {
	return _x( 'Single Product', 'Template name', 'woocommerce' );
}