Automattic\WooCommerce\Blocks\Templates

MiniCartTemplate::get_template_description()publicWC 1.0

Returns the description of the template.

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

Хуков нет.

Возвращает

Строку.

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

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

Код MiniCartTemplate::get_template_description() WC 9.6.0

public function get_template_description() {
	return __( 'Template used to display the Mini-Cart drawer.', 'woocommerce' );
}