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