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