Automattic\WooCommerce\Blocks\Templates

SingleProductTemplate::get_template_title │ public │ WC 1.0

Returns the title of the template.

Метод класса: SingleProductTemplate{}

Хуков нет.

Возвращает

string.

Использование

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

Код SingleProductTemplate::get_template_title() WC 11.2.2

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