Automattic\WooCommerce\Blocks\Templates

SingleProductTemplate::get_template_descriptionpublicWC 1.0

Returns the description of the template.

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

Хуков нет.

Возвращает

Строку.

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

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

Код SingleProductTemplate::get_template_description() WC 11.0.1

public function get_template_description() {
	return __( 'Displays a single product.', 'woocommerce' );
}