Automattic\WooCommerce\Blocks\Templates

CartTemplate::get_template_title()publicWC 1.0

Returns the title of the template.

Method of the class: CartTemplate{}

No Hooks.

Return

String.

Usage

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

CartTemplate::get_template_title() code WC 9.6.1

public function get_template_title() {
	return _x( 'Page: Cart', 'Template name', 'woocommerce' );
}