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 8.9.0

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