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