Automattic\WooCommerce\Blocks\Templates
SimpleProductAddToCartWithOptionsTemplate::get_template_description
Returns the description of the template.
Method of the class: SimpleProductAddToCartWithOptionsTemplate{}
No Hooks.
Returns
String.
Usage
$SimpleProductAddToCartWithOptionsTemplate = new SimpleProductAddToCartWithOptionsTemplate(); $SimpleProductAddToCartWithOptionsTemplate->get_template_description();
SimpleProductAddToCartWithOptionsTemplate::get_template_description() SimpleProductAddToCartWithOptionsTemplate::get template description code WC 10.8.1
public function get_template_description() {
return __( 'Template used to display the Add to Cart + Options form for Simple Products.', 'woocommerce' );
}