Automattic\WooCommerce\Admin\Features\ProductBlockEditor

ProductTemplate::set_description()publicWC 1.0

Set the template description.

Method of the class: ProductTemplate{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ProductTemplate = new ProductTemplate();
$ProductTemplate->set_description( $description );
$description(string) (required)
The template description.

ProductTemplate::set_description() code WC 9.8.5

public function set_description( string $description ) {
	$this->description = $description;
}