Automattic\WooCommerce\Blocks\Templates

ProductCategoryTemplate::get_template_title()publicWC 1.0

Returns the title of the template.

Method of the class: ProductCategoryTemplate{}

No Hooks.

Return

String.

Usage

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

ProductCategoryTemplate::get_template_title() code WC 9.8.2

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