Automattic\WooCommerce\Blocks\Templates

CartTemplate::get_template_descriptionpublicWC 1.0

Returns the description of the template.

Метод класса: CartTemplate{}

Хуков нет.

Возвращает

Строку.

Использование

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

Код CartTemplate::get_template_description() 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' );
}