Automattic\WooCommerce\Blocks\Templates

ExternalProductAddToCartWithOptionsTemplate::get_template_descriptionpublicWC 1.0

Returns the description of the template.

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

Хуков нет.

Возвращает

string.

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

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

Код ExternalProductAddToCartWithOptionsTemplate::get_template_description() WC 11.1.0

public function get_template_description() {
	return __( 'Template used to display the Add to Cart + Options form for External Products.', 'woocommerce' );
}