Automattic\WooCommerce\Blocks\Templates

CartTemplate::get_template_descriptionpublicWC 1.0

Returns the description of the template.

Method of the class: CartTemplate{}

No Hooks.

Returns

String.

Usage

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

CartTemplate::get_template_description() code WC 9.9.3

public function get_template_description() {
	return __( 'The Cart template displays the items selected by the user for purchase, including quantities, prices, and discounts. It allows users to review their choices before proceeding to checkout.', 'woocommerce' );
}