Automattic\WooCommerce\Blocks\Templates

SimpleProductAddToCartWithOptionsTemplate::get_template_title │ public │ WC 1.0

Returns the title of the template.

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

Хуков нет.

Возвращает

string.

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

$SimpleProductAddToCartWithOptionsTemplate = new SimpleProductAddToCartWithOptionsTemplate();
$SimpleProductAddToCartWithOptionsTemplate->get_template_title();

Код SimpleProductAddToCartWithOptionsTemplate::get_template_title() WC 11.2.1

public function get_template_title() {
	return _x( 'Simple Product Add to Cart + Options', 'Template name', 'woocommerce' );
}