Automattic\WooCommerce\Blocks\Templates

ProductCategoryTemplate::get_template_title │ public │ WC 1.0

Returns the title of the template.

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

Хуков нет.

Возвращает

string.

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

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

Код ProductCategoryTemplate::get_template_title() WC 11.2.2

public function get_template_title() {
	return _x( 'Products by Category', 'Template name', 'woocommerce' );
}