WC_Coupon::set_description()publicWC 3.0.0

Set coupon description.

Method of the class: WC_Coupon{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Coupon = new WC_Coupon();
$WC_Coupon->set_description( $description );
$description(string) (required)
Description.

Changelog

Since 3.0.0 Introduced.

WC_Coupon::set_description() code WC 9.4.2

public function set_description( $description ) {
	$this->set_prop( 'description', $description );
}