Automattic\WooCommerce\Blocks\Templates
SingleProductTemplate::get_template_title
Returns the title of the template.
Метод класса: SingleProductTemplate{}
Хуков нет.
Возвращает
Строку.
Использование
$SingleProductTemplate = new SingleProductTemplate(); $SingleProductTemplate->get_template_title();
Код SingleProductTemplate::get_template_title() SingleProductTemplate::get template title WC 11.0.1
public function get_template_title() {
return _x( 'Single Product', 'Template name', 'woocommerce' );
}