Automattic\WooCommerce\Blocks\Templates

CartTemplate::get_template_description()publicWC 1.0

Returns the description of the template.

Method of the class: CartTemplate{}

No Hooks.

Return

String.

Usage

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

CartTemplate::get_template_description() code WC 8.9.0

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' );
}