WC_Coupon::set_description
Set coupon description.
Method of the class: WC_Coupon{}
No Hooks.
Returns
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() WC Coupon::set description code WC 10.5.0
public function set_description( $description ) {
$this->set_prop( 'description', $description );
}