Automattic\WooCommerce\Blocks\Templates
CartTemplate::get_template_description
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() CartTemplate::get template description code WC 10.7.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' );
}