Automattic\WooCommerce\Blocks\Templates

CartTemplate::get_template_description()publicWC 1.0

Returns the description of the template.

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

Хуков нет.

Возвращает

Строку.

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

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

Код CartTemplate::get_template_description() WC 9.8.5

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