WC_Order_Item_Coupon::set_name()
Set order item name.
Method of the class: WC_Order_Item_Coupon{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Order_Item_Coupon = new WC_Order_Item_Coupon(); $WC_Order_Item_Coupon->set_name( $value );
- $value(string) (required)
- Coupon code.
WC_Order_Item_Coupon::set_name() WC Order Item Coupon::set name code WC 9.3.3
public function set_name( $value ) { return $this->set_code( $value ); }