Automattic\WooCommerce\Blocks\Templates
ProductCategoryTemplate::get_template_title
Returns the title of the template.
Method of the class: ProductCategoryTemplate{}
No Hooks.
Returns
String.
Usage
$ProductCategoryTemplate = new ProductCategoryTemplate(); $ProductCategoryTemplate->get_template_title();
ProductCategoryTemplate::get_template_title() ProductCategoryTemplate::get template title code WC 10.8.1
public function get_template_title() {
return _x( 'Products by Category', 'Template name', 'woocommerce' );
}