Automattic\WooCommerce\Blocks\Templates

SingleProductTemplate::get_template_description │ public │ WC 1.0

Returns the description of the template.

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

Хуков нет.

Возвращает

string.

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

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

Код SingleProductTemplate::get_template_description() WC 11.2.2

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