Automattic\WooCommerce\Blocks\Templates
SingleProductTemplate::get_template_description
Returns the description of the template.
Метод класса: SingleProductTemplate{}
Хуков нет.
Возвращает
Строку.
Использование
$SingleProductTemplate = new SingleProductTemplate(); $SingleProductTemplate->get_template_description();
Код SingleProductTemplate::get_template_description() SingleProductTemplate::get template description WC 11.0.1
public function get_template_description() {
return __( 'Displays a single product.', 'woocommerce' );
}