Automattic\WooCommerce\Blocks\Templates
ExternalProductAddToCartWithOptionsTemplate::get_template_description
Returns the description of the template.
Метод класса: ExternalProductAddToCartWithOptionsTemplate{}
Хуков нет.
Возвращает
Строку.
Использование
$ExternalProductAddToCartWithOptionsTemplate = new ExternalProductAddToCartWithOptionsTemplate(); $ExternalProductAddToCartWithOptionsTemplate->get_template_description();
Код ExternalProductAddToCartWithOptionsTemplate::get_template_description() ExternalProductAddToCartWithOptionsTemplate::get template description WC 11.0.1
public function get_template_description() {
return __( 'Template used to display the Add to Cart + Options form for External Products.', 'woocommerce' );
}