Automattic\WooCommerce\Blocks\Templates

CartTemplate::get_template_titlepublicWC 1.0

Returns the title of the template.

Method of the class: CartTemplate{}

No Hooks.

Returns

String.

Usage

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

CartTemplate::get_template_title() code WC 10.8.1

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